All accounts off: working Settings gear and a Turn on button per account #5

Merged
fmodf merged 1 commit from fix/disabled-account-welcome into master 2026-10-19 20:10:12 +00:00
Owner

Report: turning off the only account goes to the welcome screen. From there you can't sign in to that account, because it is already here but turned off, and the settings button does nothing.

Cause. The gear sat in the ZStack under the ScrollView, which fills the screen and took every tap.

Fix:

  • The gear is now an overlay above the scroll view.
  • Under "All accounts are disabled", each turned-off account has its own Turn on ‹address› button (AppEnvironment.setAccountEnabled). The app goes to the chats once one is on.
  • Log in with Jabber still refuses an account this install already has, as before.
  • New string: Welcome.Btn.enableAccount ("Turn on %@"), English only like the rest of the catalog.

Tested in the iPhone 18 Pro simulator (iOS 27.0), with a test account on another.im turned off from Settings:

  • Before: tapping the gear did nothing.
  • After: the gear opens Settings, and Turn on returns to the chat list.
  • gmake test: 359 tests, 0 failures. SwiftLint: nothing on the file.

🤖 Generated with Claude Code

Report: turning off the only account goes to the welcome screen. From there you can't sign in to that account, because it is already here but turned off, and the settings button does nothing. **Cause.** The gear sat in the `ZStack` under the `ScrollView`, which fills the screen and took every tap. **Fix:** - The gear is now an overlay above the scroll view. - Under "All accounts are disabled", each turned-off account has its own **Turn on ‹address›** button (`AppEnvironment.setAccountEnabled`). The app goes to the chats once one is on. - Log in with Jabber still refuses an account this install already has, as before. - New string: `Welcome.Btn.enableAccount` ("Turn on %@"), English only like the rest of the catalog. **Tested** in the iPhone 18 Pro simulator (iOS 27.0), with a test account on another.im turned off from Settings: - Before: tapping the gear did nothing. - After: the gear opens Settings, and Turn on returns to the chat list. - `gmake test`: 359 tests, 0 failures. SwiftLint: nothing on the file. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fmodf force-pushed fix/disabled-account-welcome from 1017e117d9 to 43c2f68008 2026-10-19 20:09:41 +00:00 Compare
fmodf merged commit 6b1ad514d8 into master 2026-10-19 20:10:12 +00:00
fmodf deleted branch fix/disabled-account-welcome 2026-10-19 20:10:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
done
fixed
returned
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
another-im/anotherim-swift!5
No description provided.