From 026ad347128ab6518b96190291776552c2cc6d26 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Thu, 15 Dec 2016 02:08:50 +0100 Subject: [PATCH] Fixes the latest fix --- BookAStar/BookAStar/Settings/MainSettings.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BookAStar/BookAStar/Settings/MainSettings.cs b/BookAStar/BookAStar/Settings/MainSettings.cs index 8beab1ab..37d430a5 100644 --- a/BookAStar/BookAStar/Settings/MainSettings.cs +++ b/BookAStar/BookAStar/Settings/MainSettings.cs @@ -104,7 +104,7 @@ namespace BookAStar // Inform the server of it. if (oldregid != value) { - App.CurrentApp.PostDeviceInfo(); + App.PostDeviceInfo(); } } get { return AppSettings.GetValueOrDefault(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 } }