Compare commits

...

2 Commits

Author SHA1 Message Date
327b4c04f1 Message detail (action sheet) shows full sent at date 2025-10-24 00:50:51 +08:00
bd903ce29c 💄 Change realm bottom nav icon 2025-10-24 00:46:30 +08:00
4 changed files with 23 additions and 6 deletions

View File

@@ -1254,5 +1254,6 @@
"upgradeRequired": "Upgrade required",
"settingsDisableAnimation": "Disable Animation",
"addTag": "Add Tag",
"postFeaturedIn": "Post featured on {}"
"postFeaturedIn": "Post featured on {}",
"messageSentAt": "Sent at {}"
}

View File

@@ -50,10 +50,13 @@ class TabsScreen extends HookConsumerWidget {
label: 'explore'.tr(),
icon: const Icon(Symbols.explore),
),
NavigationDestination(label: 'chat'.tr(), icon: const Icon(Symbols.chat)),
NavigationDestination(
label: 'chat'.tr(),
icon: const Icon(Symbols.chat_rounded),
),
NavigationDestination(
label: 'realms'.tr(),
icon: const Icon(Symbols.workspaces),
icon: const Icon(Symbols.group),
),
NavigationDestination(
label: 'account'.tr(),

View File

@@ -13,6 +13,7 @@ import 'package:island/pods/chat/chat_rooms.dart';
import 'package:island/pods/chat/messages_notifier.dart';
import 'package:island/pods/translate.dart';
import 'package:island/pods/config.dart';
import 'package:island/services/time.dart';
import 'package:island/widgets/account/account_pfc.dart';
import 'package:island/widgets/chat/message_content.dart';
import 'package:island/widgets/chat/message_indicators.dart';
@@ -398,7 +399,19 @@ class _MessageActionSheetState extends State<MessageActionSheet> {
const Gap(4),
],
const Gap(8),
Row(
spacing: 6,
children: [
Icon(Symbols.send, size: 16),
Text(
'messageSentAt'.tr(
args: [widget.message.createdAt.formatSystem()],
),
).fontSize(13),
],
).opacity(0.75).padding(horizontal: 20, top: 8, bottom: 6),
const Divider(),
// Action buttons
if (widget.isCurrentUser)
@@ -478,7 +491,7 @@ class _MessageActionSheetState extends State<MessageActionSheet> {
},
),
Gap(MediaQuery.of(context).padding.bottom),
Gap(MediaQuery.of(context).padding.bottom + 32),
],
),
),

View File

@@ -798,7 +798,7 @@ class PostBody extends ConsumerWidget {
children: [
const Icon(Symbols.highlight, size: 16),
Text(
'postFeaturedIn'.tr(
'postFeaturedOn'.tr(
args: [
item.featuredRecords
.map((e) => e.featuredAt ?? e.createdAt)