mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue