🐛 Optimzation and bug fixes

This commit is contained in:
2025-08-26 01:18:54 +08:00
parent b48a1aac44
commit b4d476613e
10 changed files with 295 additions and 55 deletions

View File

@@ -52,7 +52,26 @@ class BotDetailScreen extends HookConsumerWidget {
],
bottom: TabBar(
controller: tabController,
tabs: [Tab(text: 'overview'.tr()), Tab(text: 'keys'.tr())],
tabs: [
Tab(
child: Text(
'overview'.tr(),
textAlign: TextAlign.center,
style: TextStyle(
color: Theme.of(context).appBarTheme.foregroundColor!,
),
),
),
Tab(
child: Text(
'keys'.tr(),
textAlign: TextAlign.center,
style: TextStyle(
color: Theme.of(context).appBarTheme.foregroundColor!,
),
),
),
],
),
),
body: botData.when(