mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
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:
committed by
Stefan Ceriu
parent
01188f593e
commit
ba9c40cf2d
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user