diff --git a/BeSafePlus/Platforms/iOS/AppDelegate.cs b/BeSafePlus/Platforms/iOS/AppDelegate.cs index b1a1f940f33f1998f7a2b5addf23212845f1dd47..22a5d96aab98e734c8bad21a3f1f146bca2f3c46 100644 --- a/BeSafePlus/Platforms/iOS/AppDelegate.cs +++ b/BeSafePlus/Platforms/iOS/AppDelegate.cs @@ -247,11 +247,11 @@ public class AppDelegate : MauiUIApplicationDelegate, IUIApplicationDelegate, IU { if (_localDatabase != null) { - var user = await _localDatabase.GetUserId(); + var user = await _localDatabase.GetUser(); if (user == null) { - await _localDatabase.CreateUserId(); + await _localDatabase.SetUserId(); } } }