home: dont show tab icons in phone mode
This commit is contained in:
parent
f84e3428f0
commit
c9664d75c0
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class AdaptiveTabStrategy(context: Context, private val tabs: List<MusicType>) :
|
||||||
// On small screens, only display an icon.
|
// On small screens, only display an icon.
|
||||||
width < 370 -> tab.setIcon(icon).setContentDescription(homeTab.nameRes)
|
width < 370 -> tab.setIcon(icon).setContentDescription(homeTab.nameRes)
|
||||||
// On large screens, display an icon and text.
|
// On large screens, display an icon and text.
|
||||||
width < 600 -> tab.setText(homeTab.nameRes).setIcon(icon)
|
width < 600 -> tab.setText(homeTab.nameRes)
|
||||||
// On medium-size screens, display text.
|
// On medium-size screens, display text.
|
||||||
else -> tab.setIcon(icon).setText(homeTab.nameRes)
|
else -> tab.setIcon(icon).setText(homeTab.nameRes)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue