History (local)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user