slight cleanup
This commit is contained in:
parent
0d891bedbd
commit
cf92392163
1 changed files with 3 additions and 4 deletions
|
|
@ -4,7 +4,6 @@ import "package:flutter/material.dart";
|
||||||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||||
import "package:intl/intl.dart";
|
import "package:intl/intl.dart";
|
||||||
import "package:nexus/controllers/settings_controller.dart";
|
import "package:nexus/controllers/settings_controller.dart";
|
||||||
import "package:nexus/models/setting.dart";
|
|
||||||
import "package:nexus/models/settings_category.dart";
|
import "package:nexus/models/settings_category.dart";
|
||||||
import "package:nexus/main.dart";
|
import "package:nexus/main.dart";
|
||||||
import "package:nexus/widgets/settings/dialog_list_tile.dart";
|
import "package:nexus/widgets/settings/dialog_list_tile.dart";
|
||||||
|
|
@ -21,7 +20,7 @@ class SettingsSectionsController
|
||||||
title: "Appearance",
|
title: "Appearance",
|
||||||
icon: Icons.brush,
|
icon: Icons.brush,
|
||||||
settings: .new([
|
settings: .new([
|
||||||
Setting(
|
.new(
|
||||||
title: "Theme",
|
title: "Theme",
|
||||||
description:
|
description:
|
||||||
"Toggle between Light Mode, Dark Mode, and System themes.",
|
"Toggle between Light Mode, Dark Mode, and System themes.",
|
||||||
|
|
@ -39,7 +38,7 @@ class SettingsSectionsController
|
||||||
.onError(showError),
|
.onError(showError),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Setting(
|
.new(
|
||||||
title: "Use Dynamic Theme",
|
title: "Use Dynamic Theme",
|
||||||
icon: Icons.palette,
|
icon: Icons.palette,
|
||||||
description:
|
description:
|
||||||
|
|
@ -67,7 +66,7 @@ class SettingsSectionsController
|
||||||
title: "Behavior",
|
title: "Behavior",
|
||||||
icon: Icons.psychology,
|
icon: Icons.psychology,
|
||||||
settings: .new([
|
settings: .new([
|
||||||
Setting(
|
.new(
|
||||||
title: "Linux Mobile Mode",
|
title: "Linux Mobile Mode",
|
||||||
description:
|
description:
|
||||||
"Enables some fixes for Linux mobile, e.g. disabling dragging appbar for moving window.",
|
"Enables some fixes for Linux mobile, e.g. disabling dragging appbar for moving window.",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue