|
@@ -5,6 +5,7 @@ import android.graphics.Color;
|
5
|
5
|
import android.view.View;
|
6
|
6
|
|
7
|
7
|
import com.balysv.materialmenu.MaterialMenuDrawable;
|
|
8
|
+import com.facebook.react.modules.i18nmanager.I18nUtil;
|
8
|
9
|
import com.reactnativenavigation.NavigationApplication;
|
9
|
10
|
import com.reactnativenavigation.params.TitleBarButtonParams;
|
10
|
11
|
import com.reactnativenavigation.params.TitleBarLeftButtonParams;
|
|
@@ -33,6 +34,7 @@ class LeftButton extends MaterialMenuDrawable implements View.OnClickListener {
|
33
|
34
|
this.onClickListener = onClickListener;
|
34
|
35
|
this.navigatorEventId = navigatorEventId;
|
35
|
36
|
this.overrideBackPressInJs = overrideBackPressInJs;
|
|
37
|
+ setRTLEnabled(I18nUtil.getInstance().isRTL(context));
|
36
|
38
|
setInitialState();
|
37
|
39
|
setColor();
|
38
|
40
|
}
|