Commit 0618b3ec authored by netyouli's avatar netyouli

去掉AI助手添加我的

parent 6035c49e
......@@ -219,7 +219,7 @@ class ApplicationController extends GetxController {
// handleIncomingLinks();
// 准备一些静态数据
tabTitles = ['AI对话', '创作', '私人助理', 'AI绘图'];
tabTitles = ['AI对话', '创作', /*'私人助理',*/ 'AI绘图', "我的"];
bottomTabs = <BottomNavigationBarItem>[
// ignore: unnecessary_new
const BottomNavigationBarItem(
......@@ -238,6 +238,7 @@ class ApplicationController extends GetxController {
label: '创作',
backgroundColor: AppColors.primaryBackground,
),
/*
const BottomNavigationBarItem(
icon: Image(
image: AssetImage("assets/images/assistant.png"), width: 30.0),
......@@ -246,7 +247,7 @@ class ApplicationController extends GetxController {
width: 30.0),
label: '私人助理',
backgroundColor: AppColors.primaryBackground,
),
),*/
const BottomNavigationBarItem(
icon: Image(
image: AssetImage("assets/images/assistant.png"), width: 30.0),
......@@ -256,6 +257,15 @@ class ApplicationController extends GetxController {
label: 'AI绘图',
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);
// await _speechToText.initialize();
......
......@@ -57,9 +57,9 @@ class ApplicationPage extends GetView<ApplicationController> {
children: <Widget>[
HomePage(),
CreationPage(),
AssistantPage(),
// AssistantPage(),
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