Skip to content

Commit

Permalink
Fix for first start
Browse files Browse the repository at this point in the history
  • Loading branch information
wurzer committed Aug 18, 2024
1 parent d723d94 commit a368020
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.4.17" android:versionCode="314" android:installLocation="auto">
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.4.18" android:versionCode="315" android:installLocation="auto">
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29"/>

<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Expand Down
10 changes: 5 additions & 5 deletions main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,11 @@ ApplicationWindow {
Component.onCompleted: {
checkCustomParameters()

if (Universal.theme !== settings.theme) {
mainView.switchTheme(settings.theme, firstStart)
} else {
AN.SystemDispatcher.dispatch("volla.launcher.colorAction", { "value": theme, "updateLockScreen": firstStart})
}
if (settings.firstStart) {
console.debug("AppWindow | ", "Will start tutorial")
var component = Qt.createComponent("/OnBoarding.qml")
Expand All @@ -1125,11 +1130,6 @@ ApplicationWindow {
settings.sttChecked = true
AN.SystemDispatcher.dispatch("volla.launcher.checkSttAvailability", {})
}
if (Universal.theme !== settings.theme) {
mainView.switchTheme(settings.theme, firstStart)
} else {
AN.SystemDispatcher.dispatch("volla.launcher.colorAction", { "value": theme, "updateLockScreen": firstStart})
}
if (fullscreen) {
appWindow.visibility = 5
}
Expand Down

0 comments on commit a368020

Please # to comment.