mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
chore(mobile): use Record instead of custom pair+triple (#2483)
This commit is contained in:
parent
a089d9891d
commit
dc7b0f75bb
6 changed files with 58 additions and 80 deletions
mobile/lib/modules/backup/views
|
@ -364,7 +364,7 @@ class BackupControllerPage extends HookConsumerWidget {
|
|||
.read(backgroundServiceProvider)
|
||||
.getIOSBackgroundAppRefreshEnabled(),
|
||||
builder: (context, snapshot) {
|
||||
final enabled = snapshot.data as bool?;
|
||||
final enabled = snapshot.data;
|
||||
// If it's not enabled, show them some kind of alert that says
|
||||
// background refresh is not enabled
|
||||
if (enabled != null && !enabled) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue