No description
Bug: ActiveDogStore cached dogs + activeDogId (UserDefaults). Beim Login mit einem neuen Account waren die Hunde des vorigen Users weiter zu sehen, weil HeimView nur loadDogs() ruft wenn dogs.isEmpty. Fix: - ActiveDogStore hat jetzt reset() (dogs=[], activeDogId=0, UserDefaults gelöscht). - ActiveDogStore hört auf .userDidLogout und auf .apiUnauthorized, beides löst reset() aus. - AuthSession.logout() postet jetzt .userDidLogout. - Nach Login holt HeimView's .task automatisch die neuen Hunde (dogs.isEmpty → loadDogs). |
||
|---|---|---|
| AppStore | ||
| BanYaroGo | ||
| BanYaroGo.xcodeproj | ||
| BanYaroGoWidget | ||
| icon | ||
| Shared | ||
| .gitignore | ||
| BanYaroGo-Info.plist | ||
| BanYaroGo.entitlements | ||
| BanYaroGoWidget-Info.plist | ||