Skip to content

Commit

Permalink
hopefully fix wallpaper in web demo
Browse files Browse the repository at this point in the history
  • Loading branch information
larsb24 committed May 8, 2021
1 parent f4908b3 commit 369b1f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ void main() async {
PreferenceProvider();
DateTimeManager.initialiseScheduler();
DateTimeManager.setDateFormat("yMMMMd");
if (double.tryParse(DatabaseManager.get("wallpaper")) != null) {
DatabaseManager.set(
"wallpaper", "assets/images/wallpapers/Three_Bubbles.png");
}

await EasyLocalization.ensureInitialized();
await loadVisualEngine();
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.8.0"
sqflite:
dependency: transitive
description:
Expand Down Expand Up @@ -594,7 +594,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0"
version: "0.2.19"
text_editor:
dependency: "direct main"
description:
Expand Down

0 comments on commit 369b1f2

Please sign in to comment.