Skip to content

Commit

Permalink
fix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonavichus committed Apr 5, 2023
1 parent 770216d commit c1ca361
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 20 deletions.
Binary file modified assets/images/fog_night.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/map.png
Binary file not shown.
Binary file modified assets/images/storm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/thunder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 17 additions & 17 deletions lib/app/modules/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ class _SettingsPageState extends State<SettingsPage> {
}
},
),
SettingLinks(
icon: Icon(
Iconsax.notification,
color: context.theme.iconTheme.color,
),
text: 'notifications'.tr,
switcher: true,
dropdown: false,
value: settings.notifications,
onChange: (value) {
isar.writeTxn(() async {
settings.notifications = value;
isar.settings.put(settings);
});
setState(() {});
},
),
// SettingLinks(
// icon: Icon(
// Iconsax.notification,
// color: context.theme.iconTheme.color,
// ),
// text: 'notifications'.tr,
// switcher: true,
// dropdown: false,
// value: settings.notifications,
// onChange: (value) {
// isar.writeTxn(() async {
// settings.notifications = value;
// isar.settings.put(settings);
// });
// setState(() {});
// },
// ),
SettingLinks(
icon: Icon(
Iconsax.location,
Expand Down
1 change: 1 addition & 0 deletions lib/app/widgets/status.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class Status {
case 86:
return 'assets/images/snow.png';
case 95:
return 'assets/images/thunder.png';
case 96:
case 99:
return 'assets/images/storm.png';
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1006,10 +1006,10 @@ packages:
dependency: transitive
description:
name: xdg_directories
sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86
sha256: ee1505df1426458f7f60aac270645098d318a8b4766d85fde75f76f2e21807d1
url: "https://pub.dev"
source: hosted
version: "0.2.0+3"
version: "1.0.0"
xml:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A new Flutter project.

publish_to: "none"

version: 1.1.4+15
version: 1.1.5+16

environment:
sdk: ">=2.19.4 <3.0.0"
Expand Down

0 comments on commit c1ca361

Please sign in to comment.