From 7071399cd82363efe11105319b1fb74efdac10f4 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 25 Dec 2025 00:00:25 +0800 Subject: [PATCH] :lipstick: Reduce the space usage in account screen --- lib/screens/account.dart | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/lib/screens/account.dart b/lib/screens/account.dart index c4725049..1cc5923e 100644 --- a/lib/screens/account.dart +++ b/lib/screens/account.dart @@ -368,20 +368,22 @@ class AccountScreen extends HookConsumerWidget { ); }, }, - { - 'icon': Symbols.files, - 'title': 'files', - 'onTap': () { - context.goNamed('files'); + if (!isWideScreen(context)) + { + 'icon': Symbols.files, + 'title': 'files', + 'onTap': () { + context.goNamed('files'); + }, }, - }, - { - 'icon': Symbols.groups_3, - 'title': 'realms', - 'onTap': () { - context.goNamed('realmList'); + if (!isWideScreen(context)) + { + 'icon': Symbols.groups_3, + 'title': 'realms', + 'onTap': () { + context.goNamed('realmList'); + }, }, - }, { 'icon': Symbols.wallet, 'title': 'wallet',