Skip to content

Commit 3d02471

Browse files
committed
refactor(app_configuration): reorder configuration tabs
- Move General tab to the first position - Update tab order in TabBar and TabBarView - Replace placeholder text with actual implementation
1 parent b64ca6f commit 3d02471

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/app_configuration/view/app_configuration_page.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ class _AppConfigurationPageState extends State<AppConfigurationPage>
7373
tabAlignment: TabAlignment.start,
7474
isScrollable: true,
7575
tabs: [
76+
Tab(text: l10n.generalTab),
7677
Tab(text: l10n.feedTab),
7778
Tab(text: l10n.advertisementsTab),
78-
Tab(text: l10n.generalTab),
7979
],
8080
),
8181
],
@@ -143,23 +143,23 @@ class _AppConfigurationPageState extends State<AppConfigurationPage>
143143
return TabBarView(
144144
controller: _tabController,
145145
children: [
146-
FeedConfigurationTab(
146+
GeneralConfigurationTab(
147147
remoteConfig: remoteConfig,
148148
onConfigChanged: (newConfig) {
149149
context.read<AppConfigurationBloc>().add(
150150
AppConfigurationFieldChanged(remoteConfig: newConfig),
151151
);
152152
},
153153
),
154-
AdvertisementsConfigurationTab(
154+
FeedConfigurationTab(
155155
remoteConfig: remoteConfig,
156156
onConfigChanged: (newConfig) {
157157
context.read<AppConfigurationBloc>().add(
158158
AppConfigurationFieldChanged(remoteConfig: newConfig),
159159
);
160160
},
161161
),
162-
GeneralConfigurationTab(
162+
AdvertisementsConfigurationTab(
163163
remoteConfig: remoteConfig,
164164
onConfigChanged: (newConfig) {
165165
context.read<AppConfigurationBloc>().add(

0 commit comments

Comments
 (0)