From 6cee01512e71904933db43b036cdc6551867e4c4 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 5 Oct 2016 18:45:03 +0200 Subject: [PATCH] Fix the "allow notifs" setting --- BookAStar/BookAStar/ViewModels/DashboardViewModel.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/BookAStar/BookAStar/ViewModels/DashboardViewModel.cs b/BookAStar/BookAStar/ViewModels/DashboardViewModel.cs index 72549605..88e181e6 100644 --- a/BookAStar/BookAStar/ViewModels/DashboardViewModel.cs +++ b/BookAStar/BookAStar/ViewModels/DashboardViewModel.cs @@ -46,6 +46,17 @@ namespace BookAStar.ViewModels } } + public bool ReceivePushNotifications + { + get + { + return MainSettings.PushNotifications; + } + set + { + MainSettings.PushNotifications = value; + } + } private long queryCount; private User user;