🚀 Launch 3.0.0+97 w/ NSE
This commit is contained in:
@ -45,7 +45,6 @@ class TabsNavigationWidget extends HookConsumerWidget {
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final useHorizontalLayout = isWideScreen(context);
|
||||
final useExpandableLayout = isWidestScreen(context);
|
||||
final currentRoute = ref.watch(currentRouteProvider);
|
||||
|
||||
final notificationUnreadCount = ref.watch(
|
||||
@ -112,8 +111,6 @@ class TabsNavigationWidget extends HookConsumerWidget {
|
||||
Gap(MediaQuery.of(context).padding.top + 8),
|
||||
Expanded(
|
||||
child: NavigationRail(
|
||||
minExtendedWidth: 200,
|
||||
extended: useExpandableLayout,
|
||||
selectedIndex: activeIndex,
|
||||
onDestinationSelected: (index) {
|
||||
router.replace(routes[index]);
|
||||
|
@ -147,6 +147,7 @@ class ChatRoomListTile extends HookConsumerWidget {
|
||||
: room.name ?? '',
|
||||
),
|
||||
subtitle: buildSubtitle(),
|
||||
trailing: trailing, // Add this line
|
||||
onTap: () async {
|
||||
// Clear unread count if there are unread messages
|
||||
ref.read(chatSummaryProvider.future).then((summary) {
|
||||
|
@ -147,6 +147,7 @@ class SettingsScreen extends HookConsumerWidget {
|
||||
title: Text('settingsColorScheme').tr(),
|
||||
content: SingleChildScrollView(
|
||||
child: ColorPicker(
|
||||
enableAlpha: false,
|
||||
pickerColor: selectedColor,
|
||||
onColorChanged: (color) {
|
||||
selectedColor = color;
|
||||
|
Reference in New Issue
Block a user