7 Commits

Author SHA1 Message Date
shannon
54d04aed4e Continue to make MastodonAuthenticationBox the standard form of passing user information
Further simplify the AuthenticationViewModel and the public interface of AuthenticationServiceProvider.

Publish currentActiveUser from AuthenticationServiceProvider instead of assuming all callers know to take the first in the list as the active one.

contributes to iOS-319
2024-11-19 12:09:55 -05:00
shannon
35f1280904 Make view models @MainActor 2024-11-15 14:15:01 -05:00
shannon
c4442fe8a9 Fix crash on launch due to infinite loop
And more honestly about singletons.
2024-11-15 12:25:58 -05:00
shannon
77f3c5a64d Combine AuthenticationService into AuthenticationServiceProvider
Also, AppContext, APIService, and AuthenticationServiceProvider are now more obviously singletons.

And AuthenticationServiceProvider can now be asked for the current active user, instead of every caller assuming the first element of a list of users is the active user.
2024-11-14 16:30:51 -05:00
Marcus Kida
736c3b515f
fix(Widget): User lookup for widget does not yield correct result 2023-02-07 12:36:13 +01:00
Marcus Kida
8438bbc032
chore(Widget): Rename MultiFollowersCountSmallIntent -> MultiFollowersCountIntent 2023-01-31 14:55:59 +01:00
Marcus Kida
9eb26d4ed8
feat(Widget): Implement MultiFollowersCountWidget for single Column 2023-01-31 14:37:49 +01:00