vector-im/element-ios/issues/5114 - Poll creation screen

- added input toolbar poll creation action.
- reordered input toolbar actions as per designs.
- added multiline text field and extracted common components.
This commit is contained in:
Stefan Ceriu
2021-11-01 16:52:00 +02:00
committed by Stefan Ceriu
parent 01188f593e
commit ba9c40cf2d
50 changed files with 1231 additions and 42 deletions

View File

@@ -22,6 +22,9 @@ import SwiftUI
*/
@available(iOS 14.0, *)
public struct FontSwiftUI: Fonts {
public let uiFonts: ElementFonts
public var largeTitle: Font
public var largeTitleB: Font
@@ -63,6 +66,8 @@ public struct FontSwiftUI: Fonts {
public var caption2SB: Font
public init(values: ElementFonts) {
self.uiFonts = values
self.largeTitle = Font(values.largeTitle)
self.largeTitleB = Font(values.largeTitleB)
self.title1 = Font(values.title1)
@@ -85,4 +90,3 @@ public struct FontSwiftUI: Fonts {
self.caption2SB = Font(values.caption2SB)
}
}