refactor: removing unused piece of code
This commit is contained in:
@@ -265,13 +265,6 @@ public class HomeFragment extends AppKitFragment implements OnBackPressedListene
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(tab == R.id.tab_notifications){
|
|
||||||
notificationBadged=false;
|
|
||||||
GlobalUserPreferences.lastNotificationOpenedTime = System.currentTimeMillis();
|
|
||||||
GlobalUserPreferences.save();
|
|
||||||
setNotificationBadge();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (newFragment instanceof DomainDisplay display) {
|
if (newFragment instanceof DomainDisplay display) {
|
||||||
DomainManager.getInstance().setCurrentDomain(display.getDomain());
|
DomainManager.getInstance().setCurrentDomain(display.getDomain());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user