aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-09-06 00:11:12 +0200
committerselsta <selsta@sent.at>2019-09-06 00:11:12 +0200
commit8dab0755d325f338c81c8eb8ab1f0f0156cf86b1 (patch)
treee2056793c43afee57ca5209ab080aec5bac5b9be /wizard
parenta267712d100a9c514dd7de451356fe115b2090a9 (diff)
downloadmonzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.tar.gz
monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.tar.xz
monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.zip
repo: remove isMobile leftovers
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardController.qml4
-rw-r--r--wizard/WizardLang.qml4
-rw-r--r--wizard/WizardLanguage.qml2
3 files changed, 3 insertions, 7 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml
index 7d5b662f..d1ab80ce 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -121,9 +121,7 @@ Rectangle {
property int flickableHeightMargin: 200
property int layoutScale: {
- if(isMobile){
- return 0;
- } else if(appWindow.width < 800){
+ if(appWindow.width < 800){
return 1;
} else {
return 2;
diff --git a/wizard/WizardLang.qml b/wizard/WizardLang.qml
index 162abb5e..b6b173b3 100644
--- a/wizard/WizardLang.qml
+++ b/wizard/WizardLang.qml
@@ -41,9 +41,7 @@ Rectangle {
color: "transparent"
anchors.fill: parent
property int layoutScale: {
- if(isMobile){
- return 0;
- } else if(appWindow.width < 800){
+ if(appWindow.width < 800){
return 1;
} else {
return 2;
diff --git a/wizard/WizardLanguage.qml b/wizard/WizardLanguage.qml
index 3d1f96f6..2d6d37b4 100644
--- a/wizard/WizardLanguage.qml
+++ b/wizard/WizardLanguage.qml
@@ -149,7 +149,7 @@ Rectangle {
GridLayout {
id: buttonsGrid
opacity: 0
- columns: isMobile ? 1 : 2
+ columns: 2
Layout.alignment: Qt.AlignCenter
Layout.topMargin: 20
Layout.fillWidth: true