Skip to content

Commit 7a7a34d

Browse files
For now, comment out unimplemented settings
1 parent 5965baa commit 7a7a34d

1 file changed

Lines changed: 67 additions & 67 deletions

File tree

lib/ui/views/settings/settings_view.dart

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'widgets/settings_text_preview/settings_text_preview.dart';
1010
import 'widgets/settings_theme_item/settings_theme_item.dart';
1111

1212
class SettingsView extends StackedView<SettingsViewModel> {
13-
const SettingsView({Key? key}) : super(key: key);
13+
const SettingsView({super.key});
1414

1515
@override
1616
Widget builder(
@@ -140,72 +140,72 @@ class SettingsView extends StackedView<SettingsViewModel> {
140140
height: 0,
141141
color: context.theme.appColors.divider,
142142
),
143-
// Show special markings
144-
Padding(
145-
padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
146-
child: Row(
147-
mainAxisAlignment: MainAxisAlignment.spaceBetween,
148-
children: [
149-
Text(
150-
'Show OET-LV special markings',
151-
style: TextStyle(
152-
color: context.theme.appColors.primary,
153-
fontSize: 16.0,
154-
fontWeight: FontWeight.w500,
155-
),
156-
),
157-
Switch(
158-
activeColor: context.theme.appColors.background,
159-
activeTrackColor: context.theme.appColors.switchBackground,
160-
inactiveThumbColor: context.theme.appColors.primary,
161-
inactiveTrackColor: context.theme.appColors.background,
162-
trackOutlineColor: MaterialStateProperty.resolveWith((states) {
163-
if (states.contains(MaterialState.selected)) {
164-
return context.theme.appColors.switchBackground;
165-
}
166-
return context.theme.appColors.primary;
167-
}),
168-
value: viewModel.showMarks,
169-
onChanged: viewModel.changeShowMarks,
170-
),
171-
],
172-
),
173-
),
174-
Divider(
175-
height: 0,
176-
color: context.theme.appColors.divider,
177-
),
178-
// Show chapters and verses
179-
Padding(
180-
padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
181-
child: Row(
182-
mainAxisAlignment: MainAxisAlignment.spaceBetween,
183-
children: [
184-
Text(
185-
'Show chapters and verses',
186-
style: TextStyle(
187-
color: context.theme.appColors.primary,
188-
fontSize: 16.0,
189-
fontWeight: FontWeight.w500,
190-
),
191-
),
192-
Switch(
193-
activeColor: context.theme.appColors.background,
194-
activeTrackColor: context.theme.appColors.switchBackground,
195-
inactiveThumbColor: context.theme.appColors.primary,
196-
inactiveTrackColor: context.theme.appColors.background,
197-
trackOutlineColor: MaterialStateProperty.resolveWith((states) {
198-
if (states.contains(MaterialState.selected)) {
199-
return context.theme.appColors.switchBackground;
200-
}
201-
return context.theme.appColors.primary;
202-
}),
203-
value: viewModel.showChaptersAndVerses,
204-
onChanged: viewModel.changeShowChaptersAndVerses,
205-
),
206-
],
207-
),
208-
),
143+
// // Show special markings
144+
// Padding(
145+
// padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
146+
// child: Row(
147+
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
148+
// children: [
149+
// Text(
150+
// 'Show OET-LV special markings',
151+
// style: TextStyle(
152+
// color: context.theme.appColors.primary,
153+
// fontSize: 16.0,
154+
// fontWeight: FontWeight.w500,
155+
// ),
156+
// ),
157+
// Switch(
158+
// activeColor: context.theme.appColors.background,
159+
// activeTrackColor: context.theme.appColors.switchBackground,
160+
// inactiveThumbColor: context.theme.appColors.primary,
161+
// inactiveTrackColor: context.theme.appColors.background,
162+
// trackOutlineColor: MaterialStateProperty.resolveWith((states) {
163+
// if (states.contains(MaterialState.selected)) {
164+
// return context.theme.appColors.switchBackground;
165+
// }
166+
// return context.theme.appColors.primary;
167+
// }),
168+
// value: viewModel.showMarks,
169+
// onChanged: viewModel.changeShowMarks,
170+
// ),
171+
// ],
172+
// ),
173+
// ),
174+
// Divider(
175+
// height: 0,
176+
// color: context.theme.appColors.divider,
177+
// ),
178+
// // Show chapters and verses
179+
// Padding(
180+
// padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
181+
// child: Row(
182+
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
183+
// children: [
184+
// Text(
185+
// 'Show chapters and verses',
186+
// style: TextStyle(
187+
// color: context.theme.appColors.primary,
188+
// fontSize: 16.0,
189+
// fontWeight: FontWeight.w500,
190+
// ),
191+
// ),
192+
// Switch(
193+
// activeColor: context.theme.appColors.background,
194+
// activeTrackColor: context.theme.appColors.switchBackground,
195+
// inactiveThumbColor: context.theme.appColors.primary,
196+
// inactiveTrackColor: context.theme.appColors.background,
197+
// trackOutlineColor: MaterialStateProperty.resolveWith((states) {
198+
// if (states.contains(MaterialState.selected)) {
199+
// return context.theme.appColors.switchBackground;
200+
// }
201+
// return context.theme.appColors.primary;
202+
// }),
203+
// value: viewModel.showChaptersAndVerses,
204+
// onChanged: viewModel.changeShowChaptersAndVerses,
205+
// ),
206+
// ],
207+
// ),
208+
// ),
209209
Divider(
210210
height: 0,
211211
color: context.theme.appColors.divider,

0 commit comments

Comments
 (0)