chore(mobile): patch download > includeEmbeddedVideos user preferences (#11910)

* chore(mobile): patch download > includeEmbeddedVideos user preferences

* correct patch
This commit is contained in:
Alex authored and GitHub committed 2024-08-25 05:09:37 +00:00
1 parent b41af65997
commit e457d8d62e
2 files changed
+8

No files matched your search

@@ -190,6 +190,9 @@ class AuthenticationNotifier extends StateNotifier<AuthenticationState> {
error,
stackTrace,
);
debugPrint(
"Error getting user information from the server [CATCH ALL] $error $stackTrace",
);
}
// If the user information is successfully retrieved, update the store
+5
View File
@@ -7,6 +7,11 @@ dynamic upgradeDto(dynamic value, String targetType) {
if (value['rating'] == null) {
value['rating'] = RatingResponse().toJson();
}
if (value['download']['includeEmbeddedVideos'] == null) {
value['download']['includeEmbeddedVideos'] = false;
}
}
break;
}
}