Better last message preview

This commit is contained in:
2024-10-05 15:11:48 +08:00
parent f353c05cb5
commit 147879e4d8
5 changed files with 115 additions and 45 deletions

View File

@ -14,16 +14,16 @@ abstract class AppNavigation {
label: 'explore'.tr,
page: 'explore',
),
AppNavigationDestination(
icon: const Icon(Icons.workspaces),
label: 'realms'.tr,
page: 'realms',
),
AppNavigationDestination(
icon: const Icon(Icons.forum),
label: 'chat'.tr,
page: 'chat',
),
AppNavigationDestination(
icon: const Icon(Icons.workspaces),
label: 'realms'.tr,
page: 'realms',
),
AppNavigationDestination(
icon: const AppAccountWidget(),
label: 'account'.tr,

View File

@ -75,6 +75,9 @@ class RealmSwitcher extends StatelessWidget {
padding: EdgeInsets.symmetric(horizontal: 16),
height: 48,
width: 200,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(16)),
),
),
menuItemStyleData: const MenuItemStyleData(
height: 48,