mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-10 05:37:26 -04:00
repo: remove isMobile leftovers
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user