mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 15:00:40 +00:00
Fixed duplicate release notes dialog
This commit is contained in:
parent
36d7e081f1
commit
7f8ea54c6e
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ class ReleaseNotesBloc extends Cubit<ReleaseNotesState> {
|
||||||
|
|
||||||
Future<void> _showDialogIfNeeded() async {
|
Future<void> _showDialogIfNeeded() async {
|
||||||
PackageInfo.fromPlatform().then((value) {
|
PackageInfo.fromPlatform().then((value) {
|
||||||
emit(ShowReleaseNotesDialogState(value.version));
|
|
||||||
if (value.version != _userPreferencesService.seenChangelogVersion) {
|
if (value.version != _userPreferencesService.seenChangelogVersion) {
|
||||||
emit(ShowReleaseNotesDialogState(value.version));
|
emit(ShowReleaseNotesDialogState(value.version));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue