diff options
author | Vitaly Takmazov | 2014-12-23 01:29:17 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2014-12-23 01:29:17 +0300 |
commit | cb08471c057e78d278891f08d03bc4aa41fe4d0d (patch) | |
tree | 3bb69a5de15592993efacfe9b347189b81592ad5 /Juick/ViewModels/AppViewModel.cs | |
parent | 2fe738b15dd6fb2fd459f260c35fa87c3ae99814 (diff) |
Fast resume
Diffstat (limited to 'Juick/ViewModels/AppViewModel.cs')
-rw-r--r-- | Juick/ViewModels/AppViewModel.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/ViewModels/AppViewModel.cs b/Juick/ViewModels/AppViewModel.cs index ba33625..4aa9321 100644 --- a/Juick/ViewModels/AppViewModel.cs +++ b/Juick/ViewModels/AppViewModel.cs @@ -162,6 +162,7 @@ namespace Juick.ViewModels public void EnableNotifications() { if (!Account.IsAuthenticated) return; + if (pushChannel.ChannelUri == null) return; var channelUri = pushChannel.ChannelUri.ToString(); if (channelUri == Account.NotificationUri) return; |