File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ class Dashboard extends ConsumerWidget {
73
73
),
74
74
kVSpacer10,
75
75
IconButton (
76
- isSelected: railIdx == 4 ,
76
+ isSelected: railIdx == 3 ,
77
77
onPressed: () {
78
- ref.read (navRailIndexStateProvider.notifier).state = 4 ;
78
+ ref.read (navRailIndexStateProvider.notifier).state = 3 ;
79
79
},
80
80
icon: const Icon (Icons .terminal),
81
81
selectedIcon: const Icon (Icons .terminal),
@@ -108,7 +108,7 @@ class Dashboard extends ConsumerWidget {
108
108
padding: const EdgeInsets .only (bottom: 16.0 ),
109
109
child: NavbarButton (
110
110
railIdx: railIdx,
111
- buttonIdx: 3 ,
111
+ buttonIdx: 4 ,
112
112
selectedIcon: Icons .settings,
113
113
icon: Icons .settings_outlined,
114
114
label: 'Settings' ,
@@ -134,8 +134,8 @@ class Dashboard extends ConsumerWidget {
134
134
HomePage (),
135
135
EnvironmentPage (),
136
136
HistoryPage (),
137
- SettingsPage (),
138
137
TerminalPage (),
138
+ SettingsPage (),
139
139
],
140
140
),
141
141
)
Original file line number Diff line number Diff line change @@ -74,12 +74,15 @@ class PageBranch extends ConsumerWidget {
74
74
case 2 :
75
75
return const HistoryPage ();
76
76
case 3 :
77
+ return const PageBase (
78
+ title: 'Logs' ,
79
+ scaffoldBody: TerminalPage (),
80
+ );
81
+ case 4 :
77
82
return const PageBase (
78
83
title: 'Settings' ,
79
84
scaffoldBody: SettingsPage (),
80
85
);
81
- case 4 :
82
- return const TerminalPage ();
83
86
default :
84
87
return const RequestResponsePage ();
85
88
}
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class BottomNavBar extends ConsumerWidget {
60
60
Expanded (
61
61
child: NavbarButton (
62
62
railIdx: railIdx,
63
- buttonIdx: 4 ,
63
+ buttonIdx: 3 ,
64
64
selectedIcon: Icons .terminal,
65
65
icon: Icons .terminal,
66
66
label: 'Logs' ,
@@ -69,7 +69,7 @@ class BottomNavBar extends ConsumerWidget {
69
69
Expanded (
70
70
child: NavbarButton (
71
71
railIdx: railIdx,
72
- buttonIdx: 3 ,
72
+ buttonIdx: 4 ,
73
73
selectedIcon: Icons .settings,
74
74
icon: Icons .settings_outlined,
75
75
label: 'Settings' ,
You can’t perform that action at this time.
0 commit comments