🐛 Add realm entry to the account page, close #205

This commit is contained in:
2025-12-21 15:47:19 +08:00
parent 67a522753e
commit 59c34ada40
2 changed files with 76 additions and 74 deletions

View File

@@ -386,6 +386,17 @@ class AccountScreen extends HookConsumerWidget {
context.goNamed('files');
},
),
if (!isWideScreen(context))
ListTile(
minTileHeight: 48,
leading: const Icon(Symbols.group),
trailing: const Icon(Symbols.chevron_right),
contentPadding: EdgeInsets.symmetric(horizontal: 24),
title: Text('realms').tr(),
onTap: () {
context.goNamed('realmList');
},
),
ListTile(
minTileHeight: 48,
leading: const Icon(Symbols.wallet),
@@ -408,7 +419,7 @@ class AccountScreen extends HookConsumerWidget {
),
ListTile(
minTileHeight: 48,
leading: const Icon(Symbols.emoji_emotions),
leading: const Icon(Symbols.sticker_rounded),
trailing: const Icon(Symbols.chevron_right),
contentPadding: EdgeInsets.symmetric(horizontal: 24),
title: Text('stickers').tr(),