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

Prepare default Fossify calender app #261

Merged
merged 1 commit into from
Sep 22, 2024
Merged
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
2 changes: 1 addition & 1 deletion AppGrid.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ LauncherPage {
"org.fossify.gallery": "/icons/photo-gallery@4x.png",
"org.fossify.contacts": "/icons/people-contacts-agenda@4x.png",
"org.fossify.clock": "/icons/clock@4x.png",
"org.fossify.calendar.": "/icons/calendar@4x.png",
"org.fossify.calendar": "/icons/calendar@4x.png",
"org.fossify.filemanager": "/icons/folder@4x.png",
"org.fossify.notes": "/icons/notes@4x.png",
"org.fossify.calculator": "/icons/calculator@4x_104x104px.png",
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.18" android:versionCode="315" android:installLocation="auto">
<manifest package="com.volla.launcher" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.4.19" android:versionCode="316" 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
3 changes: 3 additions & 0 deletions android/src/com/volla/launcher/worker/ContactWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ static void getSomeContacts(Cursor c, int blockStart, int contactsCount, Content
while (cp.moveToNext()) {
String number = cp.getString(cp.getColumnIndex(Phone.NUMBER)).replace(" ","");
int numberType = cp.getInt(cp.getColumnIndex(Phone.TYPE));



switch (numberType) {
case Phone.TYPE_HOME:
contact.put("phone.home", number);
Expand Down
2 changes: 2 additions & 0 deletions main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,8 @@ 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.fossify.calendar" ).length > 0 ?
"org.fossify.calendar" : "com.simplemobiletools.calendar.pro"
}

function isActiveSignal() {
Expand Down