Skip to content

Commit

Permalink
Fix für springboard as start view
Browse files Browse the repository at this point in the history
  • Loading branch information
wurzer committed Feb 8, 2023
1 parent 4763c23 commit d1c230d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 0 additions & 4 deletions AppGroup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Item {
width: parent.width
topPadding: groupItem.groupIndex === 0 ? 0 : groupItem.groupIndex === 1 && groupItem.selectedGroupIndex === 0 ?
groupItem.innerSpacing / 2 : groupItem.innerSpacing

Component.onCompleted: {
groupHeader.visible = !groupGrid.visible
groupHeader2.visible = groupGrid.visible && groupItem.groupIndex > 0 && groupItem.groupLabel.toLowerCase() !== "apps"
Expand Down Expand Up @@ -138,9 +137,6 @@ Item {
cellWidth: parent.width * 0.25
visible: groupItem.groupIndex === groupItem.selectedGroupIndex
interactive: false
// add: Transition {
// NumberAnimation { properties: "opacity"; from: 0.0; to: 1.0; duration: 1000 }
// }

model: groupModel

Expand Down
2 changes: 2 additions & 0 deletions Settings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,7 @@ Page {
rightPadding: mainView.innerSpacing
text: qsTr("Background blur")
font.pointSize: mainView.mediumFontSize
visible: false
}

Slider {
Expand All @@ -1329,6 +1330,7 @@ Page {
from: 0
to: 100
value: designSettings.blurEffect
visible: false

handle: Rectangle {
x: blurSlider.leftPadding + blurSlider.visualPosition * (blurSlider.availableWidth - width)
Expand Down
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.1.12" android:versionCode="257" android:installLocation="auto">
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.1.13" android:versionCode="258" 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
11 changes: 6 additions & 5 deletions main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ ApplicationWindow {
// Application go in active state
console.log("MainView | Application became active")
settings.sync()
appGridLoader.active = true
springboardLoader.active = true
settingsPageLoader.active = true
if (!appGridLoader.active) appGridLoader.active = true
if (!springboardLoader.active) springboardLoader.active = true
if (!settingsPageLoader.active) settingsPageLoader.active = true
if (mainView.keepLastIndex) {
if (mainView.currentIndex === mainView.swipeIndex.ConversationOrNewsOrDetails) {
console.log("MainView | Switch to conversation page")
mainView.currentIndex = mainView.swipeIndex.ConversationOrNewsOrDetails
}
mainView.keepLastIndex = false
} else {
mainView.currentIndex === settings.showAppsAtStartup ? mainView.swipeIndex.Apps : mainView.swipeIndex.Springboard
mainView.currentIndex = settings.showAppsAtStartup ? mainView.swipeIndex.Apps : mainView.swipeIndex.Springboard
}
// Start onboarding for the first start of the app
console.log("MainView | First start: " + settings.firstStart)
Expand Down Expand Up @@ -77,7 +77,7 @@ ApplicationWindow {
SwipeView {
id: mainView
anchors.fill: parent
currentIndex: settings.showAppsAtStartup ? mainView.swipeIndex.Apps : mainView.swipeIndex.Springboard
currentIndex: 2
interactive: true

background: Item {
Expand Down Expand Up @@ -996,6 +996,7 @@ ApplicationWindow {
if (fullscreen) {
appWindow.visibility = 5
}
mainView.useVibration = useHapticMenus
settings.sync()
}
}
Expand Down

0 comments on commit d1c230d

Please sign in to comment.