Commit 5f3d17ff authored by Leonardo Aramaki's avatar Leonardo Aramaki

More null-check

parent 0e62f262
...@@ -121,7 +121,6 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract ...@@ -121,7 +121,6 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract
} }
} }
}); });
}
if (toolbar != null) { if (toolbar != null) {
toolbar.setNavigationOnClickListener(view -> { toolbar.setNavigationOnClickListener(view -> {
...@@ -131,6 +130,7 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract ...@@ -131,6 +130,7 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract
}); });
} }
} }
}
private boolean closeSidebarIfNeeded() { private boolean closeSidebarIfNeeded() {
// REMARK: Tablet UI doesn't have SlidingPane! // REMARK: Tablet UI doesn't have SlidingPane!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment