Skip to content

Commit

Permalink
Merge pull request #261 from HelloVolla/dev
Browse files Browse the repository at this point in the history
Prepare default Fossify calender app
  • Loading branch information
wurzer authored Sep 22, 2024
2 parents 03f7cb7 + 49d4a0f commit e3aeead
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
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

0 comments on commit e3aeead

Please sign in to comment.