mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(mobile): patch isOnboarded (#18949)
fix: patch isOnboarded Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
a9bd651692
commit
81423420c8
1 changed files with 5 additions and 0 deletions
|
|
@ -42,6 +42,11 @@ dynamic upgradeDto(dynamic value, String targetType) {
|
||||||
addDefault(value, 'profileChangedAt', DateTime.now().toIso8601String());
|
addDefault(value, 'profileChangedAt', DateTime.now().toIso8601String());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'LoginResponseDto':
|
||||||
|
if (value is Map) {
|
||||||
|
addDefault(value, 'isOnboarded', false);
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue