fixe theme changing

This commit is contained in:
Peter Maquiran
2022-10-11 17:07:51 +01:00
parent a2bdbb00fd
commit 5c22b278a3
7 changed files with 43 additions and 79 deletions
@@ -20,7 +20,7 @@ export class EditProfilePage implements OnInit {
constructor(private modalController:ModalController,
private animationController: AnimationController,
public platform: Platform,
private backgroundservice: BackgroundService,
private BackgroundService: BackgroundService,
public ThemeService: ThemeService
) {}
@@ -118,6 +118,7 @@ export class EditProfilePage implements OnInit {
changeTheme(name) {
this.ThemeService.setTheme(name)
this.BackgroundService.paint();
}
}