Commit 0618b3ec authored by netyouli's avatar netyouli

去掉AI助手添加我的

parent 6035c49e
...@@ -219,7 +219,7 @@ class ApplicationController extends GetxController { ...@@ -219,7 +219,7 @@ class ApplicationController extends GetxController {
// handleIncomingLinks(); // handleIncomingLinks();
// 准备一些静态数据 // 准备一些静态数据
tabTitles = ['AI对话', '创作', '私人助理', 'AI绘图']; tabTitles = ['AI对话', '创作', /*'私人助理',*/ 'AI绘图', "我的"];
bottomTabs = <BottomNavigationBarItem>[ bottomTabs = <BottomNavigationBarItem>[
// ignore: unnecessary_new // ignore: unnecessary_new
const BottomNavigationBarItem( const BottomNavigationBarItem(
...@@ -238,6 +238,7 @@ class ApplicationController extends GetxController { ...@@ -238,6 +238,7 @@ class ApplicationController extends GetxController {
label: '创作', label: '创作',
backgroundColor: AppColors.primaryBackground, backgroundColor: AppColors.primaryBackground,
), ),
/*
const BottomNavigationBarItem( const BottomNavigationBarItem(
icon: Image( icon: Image(
image: AssetImage("assets/images/assistant.png"), width: 30.0), image: AssetImage("assets/images/assistant.png"), width: 30.0),
...@@ -246,7 +247,7 @@ class ApplicationController extends GetxController { ...@@ -246,7 +247,7 @@ class ApplicationController extends GetxController {
width: 30.0), width: 30.0),
label: '私人助理', label: '私人助理',
backgroundColor: AppColors.primaryBackground, backgroundColor: AppColors.primaryBackground,
), ),*/
const BottomNavigationBarItem( const BottomNavigationBarItem(
icon: Image( icon: Image(
image: AssetImage("assets/images/assistant.png"), width: 30.0), image: AssetImage("assets/images/assistant.png"), width: 30.0),
...@@ -256,6 +257,15 @@ class ApplicationController extends GetxController { ...@@ -256,6 +257,15 @@ class ApplicationController extends GetxController {
label: 'AI绘图', label: 'AI绘图',
backgroundColor: AppColors.primaryBackground, backgroundColor: AppColors.primaryBackground,
), ),
const BottomNavigationBarItem(
icon: Image(
image: AssetImage("assets/images/assistant.png"), width: 30.0),
activeIcon: Image(
image: AssetImage("assets/images/assistant-selected.png"),
width: 30.0),
label: '我的',
backgroundColor: AppColors.primaryBackground,
),
]; ];
pageController = PageController(initialPage: state.page); pageController = PageController(initialPage: state.page);
// await _speechToText.initialize(); // await _speechToText.initialize();
......
...@@ -57,9 +57,9 @@ class ApplicationPage extends GetView<ApplicationController> { ...@@ -57,9 +57,9 @@ class ApplicationPage extends GetView<ApplicationController> {
children: <Widget>[ children: <Widget>[
HomePage(), HomePage(),
CreationPage(), CreationPage(),
AssistantPage(), // AssistantPage(),
AIDrawImagePage(), AIDrawImagePage(),
// MyPage() MyPage()
]); ]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment