From 0eb27d6525f93d2cfa7aa2a3924346c8a75a8682 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 13 Jan 2020 13:30:05 -0800 Subject: [PATCH] Bug Fixes --- main.go | 2 +- qml/main.qml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 99e676b4..94c6a99c 100644 --- a/main.go +++ b/main.go @@ -135,7 +135,7 @@ func mainUi(flagLocal bool, flagClientUI bool) { if runtime.GOOS == "android" { gcd.SetAssetPath("assets:/") } else { - gcd.SetAssetPath(path.Join(dir, "assets") + string(os.PathSeparator)) + gcd.SetAssetPath("file://" + path.Join(dir, "assets") + string(os.PathSeparator)) } if buildVer != "" { diff --git a/qml/main.qml b/qml/main.qml index db1b01dc..07fd635c 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -126,7 +126,6 @@ ApplicationWindow { currentIndex: 1 anchors.fill: parent - currentIndex: 0 readonly property int splashPane: 0 readonly property int managementPane: 1 readonly property int addEditProfilePane: 2