@@ -43,15 +43,15 @@ class _IndexState extends State<Index> {
43
43
backgroundColor: Color (0xFFf7f7f7 ),
44
44
type: BottomNavigationBarType .fixed,
45
45
items: < BottomNavigationBarItem > [
46
+ BottomNavigationBarItem (
47
+ title: Text (AppLocalizations .$t ('title_library' )),
48
+ icon: Icon (Icons .library_add)),
46
49
BottomNavigationBarItem (
47
50
title: Text (AppLocalizations .$t ('title_component' )),
48
51
icon: Icon (Icons .dashboard)),
49
52
BottomNavigationBarItem (
50
53
title: Text (AppLocalizations .$t ('title_comment' )),
51
54
icon: Icon (Icons .comment)),
52
- BottomNavigationBarItem (
53
- title: Text (AppLocalizations .$t ('title_library' )),
54
- icon: Icon (Icons .library_add)),
55
55
BottomNavigationBarItem (
56
56
title: Text (AppLocalizations .$t ('title_my' )),
57
57
icon: Icon (Icons .person_outline)),
@@ -215,9 +215,9 @@ class _IndexState extends State<Index> {
215
215
});
216
216
},
217
217
children: < Widget > [
218
+ LibraryIndex .Index (),
218
219
TabIndex .Index (),
219
220
CommentIndex .Index (),
220
- LibraryIndex .Index (),
221
221
MyIndex .Index (),
222
222
],
223
223
),
0 commit comments