mirror of
https://github.com/immich-app/immich.git
synced 2025-06-03 13:46:47 -04: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,
|
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…
x
Reference in New Issue
Block a user