💄 Optimize developer hub

This commit is contained in:
2025-10-12 16:14:44 +08:00
parent 6ffd498761
commit 6ef4580d93
2 changed files with 533 additions and 283 deletions

View File

@@ -74,28 +74,18 @@ class ProjectDetailView extends HookConsumerWidget {
} else {
return Column(
children: [
TabBar(
controller: tabController,
tabs: [
Tab(
child: Text(
'customApps'.tr(),
textAlign: TextAlign.center,
style: TextStyle(
color: Theme.of(context).appBarTheme.foregroundColor!,
),
Container(
color: Theme.of(context).colorScheme.surface,
child: TabBar(
dividerColor: Colors.transparent,
controller: tabController,
tabs: [
Tab(
child: Text('customApps'.tr(), textAlign: TextAlign.center),
),
),
Tab(
child: Text(
'bots'.tr(),
textAlign: TextAlign.center,
style: TextStyle(
color: Theme.of(context).appBarTheme.foregroundColor!,
),
),
),
],
Tab(child: Text('bots'.tr(), textAlign: TextAlign.center)),
],
),
),
Expanded(
child: TabBarView(