Skip to content

Commit

Permalink
feat(version): upgrade to v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Xmarmalade committed May 6, 2023
1 parent c46c1f9 commit 812e4f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/provider/persistence_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ final persistenceProvider = Provider<PersistenceService>((ref) {
});

// Version of the storage
const currentAlistHelperVersion = 'v0.0.1';
const currentAlistHelperVersion = 'v0.0.2';
const _version = 'ah_current_version';

// App Window Offset and Size info
Expand Down Expand Up @@ -48,7 +48,7 @@ class PersistenceService {
LocaleSettings.setLocaleRaw(persistedLocale);
}

if (prefs.getString(_version) == null) {
if (prefs.getString(_version) == null || prefs.getString(_version) != currentAlistHelperVersion) {
await prefs.setString(_version, currentAlistHelperVersion);
}
return PersistenceService._(prefs);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: alisthelper
description: A flutter app designed to provide more convenient management of alist operations.
publish_to: 'none'
version: 0.0.1+1
version: 0.0.2+2

environment:
sdk: '>=3.1.0-38.0.dev <4.0.0'
Expand Down

0 comments on commit 812e4f3

Please sign in to comment.