use accordion fallback

This commit is contained in:
Fabian Freund
2026-07-08 06:33:01 +02:00
parent 7490736258
commit 6742aa4d29
@@ -512,13 +512,13 @@ class GeneralSettings with FastEquatable {
/// Container-dependent stacking modes degrade to a single recently-used
/// row when the container UI is disabled. Two-level stacking additionally
/// degrades to the single container-tabs row on the narrow vertical rail,
/// where two stacked chip lists have no room.
/// degrades to accordion (the default mode, which has a vertical form) on the
/// narrow vertical rail, where two stacked chip lists have no room.
TabBarStackingMode effectiveTabBarStackingMode() {
var mode = tabBarStackingMode;
if (tabBarPosition.isVertical && mode == TabBarStackingMode.twoLevel) {
mode = TabBarStackingMode.containerTabs;
mode = TabBarStackingMode.accordion;
}
if (!showContainerUi &&