mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Add Simple Template Example
- Add a simple Template example that shows a user profile with avatar, displayName and presence. - ScreenCoordinator: closure based with less protocols and delegates. - Reducer: Reducer function that manages all state modifications. - SwiftUI View: Decomposes UI into appropriate sub components. - Uses Theme and Dependency Management Infrastructure
This commit is contained in:
+1
@@ -19,4 +19,5 @@ import Foundation
|
||||
struct TemplateUserProfileViewState {
|
||||
let avatar: AvatarInputType?
|
||||
let displayName: String?
|
||||
var presence: TemplatePresence = .offline
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user