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

More null-check

parent 0e62f262
...@@ -121,14 +121,14 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract ...@@ -121,14 +121,14 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract
} }
} }
}); });
}
if (toolbar != null) { if (toolbar != null) {
toolbar.setNavigationOnClickListener(view -> { toolbar.setNavigationOnClickListener(view -> {
if (pane.isSlideable() && !pane.isOpen()) { if (pane.isSlideable() && !pane.isOpen()) {
pane.openPane(); pane.openPane();
} }
}); });
}
} }
} }
......
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