From 2cc8a6e6b062912b0346b438e2cf4f1d577940d4 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 29 Dec 2020 14:06:27 -0500 Subject: [PATCH] more cleanup --- .../instagrabber/fragments/NotificationsViewerFragment.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/awais/instagrabber/fragments/NotificationsViewerFragment.java b/app/src/main/java/awais/instagrabber/fragments/NotificationsViewerFragment.java index 098643be..6c255d8a 100644 --- a/app/src/main/java/awais/instagrabber/fragments/NotificationsViewerFragment.java +++ b/app/src/main/java/awais/instagrabber/fragments/NotificationsViewerFragment.java @@ -46,7 +46,6 @@ import awais.instagrabber.utils.Utils; import awais.instagrabber.viewmodels.NotificationViewModel; import awais.instagrabber.webservices.FriendshipService; import awais.instagrabber.webservices.MediaService; -import awais.instagrabber.webservices.NewsService; import awais.instagrabber.webservices.ServiceCallback; import static awais.instagrabber.utils.Utils.settingsHelper; @@ -62,7 +61,6 @@ public final class NotificationsViewerFragment extends Fragment implements Swipe private MediaService mediaService; private String userId; private String csrfToken; - private NewsService newsService; private Context context; private final OnNotificationClickListener clickListener = new OnNotificationClickListener() { @@ -228,7 +226,6 @@ public final class NotificationsViewerFragment extends Fragment implements Swipe Toast.makeText(context, R.string.activity_notloggedin, Toast.LENGTH_SHORT).show(); } friendshipService = FriendshipService.getInstance(); - newsService = NewsService.getInstance(); mediaService = MediaService.getInstance(); userId = CookieUtils.getUserIdFromCookie(cookie); csrfToken = CookieUtils.getCsrfTokenFromCookie(cookie);