use accordion fallback
This commit is contained in:
@@ -512,13 +512,13 @@ class GeneralSettings with FastEquatable {
|
|||||||
|
|
||||||
/// Container-dependent stacking modes degrade to a single recently-used
|
/// Container-dependent stacking modes degrade to a single recently-used
|
||||||
/// row when the container UI is disabled. Two-level stacking additionally
|
/// row when the container UI is disabled. Two-level stacking additionally
|
||||||
/// degrades to the single container-tabs row on the narrow vertical rail,
|
/// degrades to accordion (the default mode, which has a vertical form) on the
|
||||||
/// where two stacked chip lists have no room.
|
/// narrow vertical rail, where two stacked chip lists have no room.
|
||||||
TabBarStackingMode effectiveTabBarStackingMode() {
|
TabBarStackingMode effectiveTabBarStackingMode() {
|
||||||
var mode = tabBarStackingMode;
|
var mode = tabBarStackingMode;
|
||||||
|
|
||||||
if (tabBarPosition.isVertical && mode == TabBarStackingMode.twoLevel) {
|
if (tabBarPosition.isVertical && mode == TabBarStackingMode.twoLevel) {
|
||||||
mode = TabBarStackingMode.containerTabs;
|
mode = TabBarStackingMode.accordion;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!showContainerUi &&
|
if (!showContainerUi &&
|
||||||
|
|||||||
Reference in New Issue
Block a user