mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +00:00
minor fix
This commit is contained in:
parent
b366686764
commit
4d1a684932
3 changed files with 9 additions and 1 deletions
4
Habitica/res/values-land/bools.xml
Normal file
4
Habitica/res/values-land/bools.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="is_portrait_mode">false</bool>
|
||||
</resources>
|
||||
4
Habitica/res/values/bools.xml
Normal file
4
Habitica/res/values/bools.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="is_portrait_mode">true</bool>
|
||||
</resources>
|
||||
|
|
@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue