mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: only print debug output if there's information
On many devices the Screen property doesn't give us a manufacturer, model, or name. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
45106260dd
commit
d635d5de1f
1 changed files with 2 additions and 1 deletions
|
@ -678,7 +678,8 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
// try to see if we can detect certain device vendors through these properties
|
// try to see if we can detect certain device vendors through these properties
|
||||||
console.log("Running on " + Screen.manufacturer + " " + Screen.model + " " + Screen.name)
|
if (Screen.manufacturer + " " + Screen.model + " " + Screen.name !== " ")
|
||||||
|
console.log("Running on " + Screen.manufacturer + " " + Screen.model + " " + Screen.name)
|
||||||
rootItem.visible = true
|
rootItem.visible = true
|
||||||
diveList.opacity = 1
|
diveList.opacity = 1
|
||||||
rootItem.opacity = 1
|
rootItem.opacity = 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue