Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #226

Merged
merged 2 commits into from
May 12, 2024
Merged

Dev #226

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AppGrid.qml
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ LauncherPage {
}
}
mainView.updateSpinner(false)
mainView.checkDefaultApps(getAllApps())
} else if (type === "volla.launcher.receivedShortcut") {
console.log("AppGrid | New pinned shortcut: " + message["shortcutId"])

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.4.3" android:versionCode="300" android:installLocation="auto">
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.4.4" android:versionCode="301" 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
17 changes: 12 additions & 5 deletions main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@ ApplicationWindow {
property bool useVibration: settings.useHapticMenus
property int maxTitleLength: 120

property string galleryApp: "com.simplemobiletools.gallery.pro"
property string calendarApp: "com.simplemobiletools.calendar.pro"
property string galleryApp: "org.fossify.gallery"
property string calendarApp: "org.fossify.calendar"
property string cameraApp: "com.mediatek.camera"
property string phoneApp: "com.simplemobiletools.dialer" // "com.android.dialer"
property string notesApp: "com.simplemobiletools.notes.pro"
property var messageApp: ["com.android.mms", "com.simplemobiletools.smsmessenger", "com.android.messaging"];
property string phoneApp: "com.android.dialer"
property string notesApp: "org.fossify.notes"
property var messageApp: ["com.android.mms", "org.fossify.messages", "com.android.messaging"];

property string cacheName: "VollaCacheDB"
property string cacheDescription: "Messages cache"
Expand Down Expand Up @@ -937,6 +937,13 @@ ApplicationWindow {
}
}

function checkDefaultApp(apps) {
mainView.galleryApp = apps.filter( el => el.package !== "org.fossify.gallery" ).length > 0 ?
"org.fossify.gallery" : "com.simplemobiletools.gallery.pro"
mainView.calendarApp = apps.filter( el => el.package !== "org.fossiry.calendar" ).length > 0 ?
"org.fossiry.calendar" : "com.simplemobiletools.calendar.pro"
}

WorkerScript {
id: contactsWorker
source: "scripts/contacts.mjs"
Expand Down
3 changes: 3 additions & 0 deletions qtquickcontrols2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
[Controls]
Style=Universal

[Default]
Font\Family=Noto Sans

[Universal\Font]
Family=Noto Sans

Expand Down
Loading