Use default landscape format for settings page

This commit is contained in:
Sebastian Wolf 2021-02-05 22:49:56 +01:00
parent cbee948e09
commit f6e21b6428
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -28,7 +28,7 @@ Page {
id: settingsPage id: settingsPage
allowedOrientations: Orientation.All allowedOrientations: Orientation.All
readonly property bool landscapeLayout: (width > height && Screen.sizeCategory > Screen.Small) || Screen.sizeCategory > Screen.Medium readonly property bool landscapeLayout: settingsPage.isLandscape
readonly property var userInformation: tdLibWrapper.getUserInformation() readonly property var userInformation: tdLibWrapper.getUserInformation()
property bool uploadInProgress: false property bool uploadInProgress: false