scss changes in SetFolderIcon, add translation to sk/cn

This commit is contained in:
Milos Holba
2021-02-11 20:14:27 +01:00
parent 7be02edead
commit eebeee6948
10 changed files with 243 additions and 66 deletions

View File

@@ -352,6 +352,22 @@ const Helpers = {
body.classList.add('windows')
}
}
Vue.prototype.$isIos = function() {
const toMatch = [
/iPhone/i,
/iPad/i,
/iPod/i,
/iOS/i,
/macOS/i,
/Macintosh/i
]
// Check if device is iOS
return toMatch.some(toMatchItem => {
return navigator.userAgent.match(toMatchItem)
})
}
}
}