Merge branch 'main' of github.com:cutefishos/filemanager into main

This commit is contained in:
cutefishd 2021-04-06 11:40:43 +08:00
commit 22332ee53e
2 changed files with 2 additions and 4 deletions

1
.gitignore vendored
View file

@ -52,3 +52,4 @@ compile_commands.json
*creator.user* *creator.user*
/build/* /build/*
.vscode

View file

@ -72,10 +72,7 @@ Meui.Window {
source: settings.viewMethod === 0 ? listSource : gridSource source: settings.viewMethod === 0 ? listSource : gridSource
onClicked: { onClicked: {
if (settings.viewMethod === 1) settings.viewMethod ^= 1 // reverse settings.viewMethod
settings.viewMethod = 0
else
settings.viewMethod = 1
} }
} }
} }