mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
fix to make the function run on RiotSwiftUI
This commit is contained in:
@@ -35,7 +35,7 @@ struct Composer: View {
|
||||
|
||||
private var isLandscapeIphone: Bool {
|
||||
let device = UIDevice.current
|
||||
return device.isPhone && device.orientation.isLandscape
|
||||
return device.userInterfaceIdiom == .phone && device.orientation.isLandscape
|
||||
}
|
||||
|
||||
private let horizontalPadding: CGFloat = 12
|
||||
|
||||
Reference in New Issue
Block a user