Commit 36955585 authored by Lucio Maciel's avatar Lucio Maciel

Fix build adding a missing variable

parent 1e2ee218
...@@ -4,6 +4,7 @@ import android.os.Bundle; ...@@ -4,6 +4,7 @@ import android.os.Bundle;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
import android.support.design.widget.Snackbar; import android.support.design.widget.Snackbar;
import android.support.v4.widget.SlidingPaneLayout; import android.support.v4.widget.SlidingPaneLayout;
import android.support.v7.graphics.drawable.DrawerArrowDrawable;
import android.view.View; import android.view.View;
import chat.rocket.android.LaunchUtil; import chat.rocket.android.LaunchUtil;
...@@ -80,6 +81,8 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract ...@@ -80,6 +81,8 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract
} }
}); });
final DrawerArrowDrawable drawerArrowDrawable = new DrawerArrowDrawable(this);
toolbar.setNavigationIcon(drawerArrowDrawable);
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