Esempio n. 1
0
 static void OnTimelineUpdated(object sender, TimelineUpdatedEventArgs args)
 {
     if (!Preferences.ShowNotifications)
     {
         return;
     }
     notifications.Notify(new TimelineNotification(args.Screenname, args.Status, args.Icon));
 }
Esempio n. 2
0
 static void DirectMessageFound(object sender, TimelineUpdatedEventArgs args)
 {
     if (!Preferences.ShowDirectMessages)
     {
         return;
     }
     notifications.Notify(new DirectMessageNotification(args.Screenname, args.Status, args.Icon));
 }