Fixed duplicate release notes dialog

This commit is contained in:
Vadim 2024-05-23 09:08:16 +02:00
parent 36d7e081f1
commit 7f8ea54c6e

View file

@ -14,7 +14,6 @@ class ReleaseNotesBloc extends Cubit<ReleaseNotesState> {
Future<void> _showDialogIfNeeded() async {
PackageInfo.fromPlatform().then((value) {
emit(ShowReleaseNotesDialogState(value.version));
if (value.version != _userPreferencesService.seenChangelogVersion) {
emit(ShowReleaseNotesDialogState(value.version));
}