fix(settings): tab position rows are dropdowns again

#982 moved New tab position and Tab bar position into General with the
segmented control they had before #979 made every pick-one setting a
dropdown, so General mixed the two again. Both use settings_choice.
This commit is contained in:
l0ng-ai
2026-09-27 16:54:17 +02:00
parent 6f30677b7c
commit 67b2be3ab0
+2 -2
View File
@@ -1372,7 +1372,7 @@ impl Tty7App {
TabBarPosition::Left => 1,
};
let sidebar_auto_grouping = cfg.sidebar_auto_grouping;
let new_tab = self.segmented(
let new_tab = self.settings_choice(
"wt-new-tab-pos",
&[t(L10nKey::SettingsAfterCurrent), t(L10nKey::SettingsAtEnd)],
new_tab_idx,
@@ -1388,7 +1388,7 @@ impl Tty7App {
);
},
);
let tab_bar = self.segmented(
let tab_bar = self.settings_choice(
"wt-tab-bar-pos",
&[t(L10nKey::SettingsTop), t(L10nKey::SettingsLeft)],
tab_bar_idx,