Changed icon
This commit is contained in:
@@ -64,7 +64,6 @@ class _SettingsViewState extends State<SettingsView> {
|
|||||||
onChanged: (newCaboPenalty) {
|
onChanged: (newCaboPenalty) {
|
||||||
setState(() {
|
setState(() {
|
||||||
ConfigService.setCaboPenalty(newCaboPenalty);
|
ConfigService.setCaboPenalty(newCaboPenalty);
|
||||||
ConfigService.caboPenalty = newCaboPenalty;
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
@@ -81,14 +80,13 @@ class _SettingsViewState extends State<SettingsView> {
|
|||||||
onChanged: (newPointLimit) {
|
onChanged: (newPointLimit) {
|
||||||
setState(() {
|
setState(() {
|
||||||
ConfigService.setPointLimit(newPointLimit);
|
ConfigService.setPointLimit(newPointLimit);
|
||||||
ConfigService.pointLimit = newPointLimit;
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
CustomFormRow(
|
CustomFormRow(
|
||||||
prefixText: AppLocalizations.of(context).standard_mode,
|
prefixText: AppLocalizations.of(context).standard_mode,
|
||||||
prefixIcon: CupertinoIcons.airplane,
|
prefixIcon: CupertinoIcons.square_stack,
|
||||||
suffixWidget: Row(
|
suffixWidget: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user