mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 11:15:54 +02:00
chore(mobile): patch download > includeEmbeddedVideos user preferences (#11910)
* chore(mobile): patch download > includeEmbeddedVideos user preferences * correct patch
This commit is contained in:
parent
b41af65997
commit
e457d8d62e
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user