Archived
1
0

History (local)

This commit is contained in:
Michael Gordeev
2018-11-09 22:27:51 +03:00
parent 4d13ea1226
commit 1a6447a4aa
9 changed files with 100 additions and 56 deletions
@@ -36,6 +36,8 @@ namespace FoxTube.Background
lastCheck = DateTime.Now;
}
ToastNotificationManager.CreateToastNotifier().Show(Notification.GetInternalToast(null, "Background task initialized. Retrieving videos since", lastCheck.ToString(), null, null));
bool[] notificationsSettings = JsonConvert.DeserializeObject<bool[]>(await FileIO.ReadTextAsync(await ApplicationData.Current.RoamingFolder.GetFileAsync("notifications.json")));
if(notificationsSettings[0])
CheckAnnouncements();