Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 3ffe36e

Browse files
committed
Clean up ZulipActivity start
1 parent f4af317 commit 3ffe36e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/src/main/java/com/zulip/android/activities/ZulipActivity.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,17 +289,17 @@ protected void onCreate(Bundle savedInstanceState) {
289289
super.onCreate(savedInstanceState);
290290

291291
app = (ZulipApp) getApplicationContext();
292-
settings = app.getSettings();
293-
if (mMutedTopics == null) {
294-
mMutedTopics = MutedTopics.get();
295-
}
296-
297292
processParams();
298293

299294
if (!app.isLoggedIn()) {
300295
openLogin();
301296
return;
302297
}
298+
299+
if (mMutedTopics == null) {
300+
mMutedTopics = MutedTopics.get();
301+
}
302+
303303
this.logged_in = true;
304304
notifications = new Notifications(this);
305305
notifications.register();

0 commit comments

Comments
 (0)