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

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

* correct patch
This commit is contained in:
Alex 2024-08-25 00:09:37 -05:00 committed by GitHub
parent b41af65997
commit e457d8d62e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -190,6 +190,9 @@ class AuthenticationNotifier extends StateNotifier<AuthenticationState> {
error, error,
stackTrace, stackTrace,
); );
debugPrint(
"Error getting user information from the server [CATCH ALL] $error $stackTrace",
);
} }
// If the user information is successfully retrieved, update the store // If the user information is successfully retrieved, update the store

View File

@ -7,6 +7,11 @@ dynamic upgradeDto(dynamic value, String targetType) {
if (value['rating'] == null) { if (value['rating'] == null) {
value['rating'] = RatingResponse().toJson(); value['rating'] = RatingResponse().toJson();
} }
if (value['download']['includeEmbeddedVideos'] == null) {
value['download']['includeEmbeddedVideos'] = false;
}
} }
break;
} }
} }