minor fix

This commit is contained in:
Phillip Thelen 2018-07-11 18:53:53 +02:00
parent b366686764
commit 4d1a684932
3 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="is_portrait_mode">false</bool>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="is_portrait_mode">true</bool>
</resources>

View file

@ -34,7 +34,7 @@ object NavbarUtils {
private fun isPortrait(context: Context): Boolean {
val res = context.resources
return res.getBoolean(R.bool.bb_bottom_bar_is_portrait_mode)
return res.getBoolean(R.bool.is_portrait_mode)
}
/**