Fixes the latest fix

vnext
Paul Schneider 8 years ago
parent 2419928a7a
commit 026ad34712
1 changed files with 4 additions and 4 deletions

@ -104,7 +104,7 @@ namespace BookAStar
// Inform the server of it.
if (oldregid != value)
{
App.CurrentApp.PostDeviceInfo();
App.PostDeviceInfo();
}
}
get { return AppSettings.GetValueOrDefault<string>(GoogleRegIdKey); }
@ -155,15 +155,15 @@ namespace BookAStar
{
if (olduserid != value.Id)
{
App.CurrentApp.PostDeviceInfo();
App.PostDeviceInfo();
if (UserChanged!=null)
UserChanged.Invoke(App.CurrentApp, new EventArgs());
UserChanged.Invoke(App.Current, new EventArgs());
}
}
else if (olduserid != null)
{
if (UserChanged != null)
UserChanged.Invoke(App.CurrentApp, new EventArgs());
UserChanged.Invoke(App.Current, new EventArgs());
// TODO else Unregister this device
}
}

Loading…