Keep the chooser's region when the summary shows the timezone's region

This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 00:08:43 -04:00
1 parent 75d00a2036
commit e8715fc888
1 file changed
+4 -4
+4 -4
View File
@@ -385,10 +385,10 @@ user_step() {
# The timezone selects the region (mirrors and repositories), using the
# same lookup as the orchestrator. Global installs get no extra row.
region=$(cd /usr/share/omarchy-iso 2>/dev/null && python -m orchestrator.region "$timezone") || region="global"
region_row=""
if [[ $region != "global" ]]; then
region_row="\n$(omarchy_text Region),$region"
local summary_region region_row=""
summary_region=$(cd /usr/share/omarchy-iso 2>/dev/null && python -m orchestrator.region "$timezone") || summary_region="global"
if [[ $summary_region != "global" ]]; then
region_row="\n$(omarchy_text Region),$summary_region"
fi
# Add manual padding since gum table -p doesn't respect padding