Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d1904fa authored by narinder Rana's avatar narinder Rana
Browse files

remove comment and refine code

parent 9c6df399
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -247,7 +247,7 @@ class MainActivity : QkThemedActivity(), MainView {
        listOf(plusBadge1, plusBadge2).forEach { badge ->
        listOf(plusBadge1, plusBadge2).forEach { badge ->
            badge.isVisible = drawerBadgesExperiment.variant && !state.upgraded
            badge.isVisible = drawerBadgesExperiment.variant && !state.upgraded
        }
        }
        plus.isVisible = state.upgraded



        compose.setVisible(state.page is Inbox || state.page is Archived)
        compose.setVisible(state.page is Inbox || state.page is Archived)
        conversationsAdapter.emptyView = empty.takeIf { state.page is Inbox || state.page is Archived }
        conversationsAdapter.emptyView = empty.takeIf { state.page is Inbox || state.page is Archived }