Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack.

This commit is contained in:
David Langley
2021-08-12 11:52:06 +01:00
parent d4a672c1f0
commit 7464614ff4
29 changed files with 841 additions and 213 deletions
@@ -16,8 +16,14 @@
import Foundation
enum RoomNotificationState: CaseIterable {
enum RoomNotificationState: Int {
case all
case mentionsAndKeywordsOnly
case mute
}
extension RoomNotificationState: CaseIterable { }
extension RoomNotificationState: Identifiable {
var id: Int { self.rawValue }
}