♻️ Turn thought into a Tab

This commit is contained in:
2025-11-15 23:08:31 +08:00
parent 6f6422c15e
commit d201182bd2
4 changed files with 24 additions and 14 deletions

View File

@@ -24,6 +24,7 @@ const kTabRoutes = [
'/realms',
'/account',
'/files',
'/thought',
'/creators',
'/developers',
];
@@ -90,6 +91,10 @@ class TabsScreen extends HookConsumerWidget {
label: 'files'.tr(),
icon: const Icon(Symbols.folder_rounded),
),
NavigationDestination(
label: 'aiThought'.tr(),
icon: const Icon(Symbols.bubble_chart),
),
NavigationDestination(
label: 'creatorHub'.tr(),
icon: const Icon(Symbols.design_services_rounded),

View File

@@ -51,6 +51,7 @@ class ThoughtScreen extends HookConsumerWidget {
isNoBackground: false,
appBar: AppBar(
title: Text(initialTopic ?? 'aiThought'.tr()),
leading: const PageBackButton(),
actions: [
IconButton(
icon: const Icon(Symbols.history),