From 523f4e711d07f96f907433eafc6a942481f0470a Mon Sep 17 00:00:00 2001 From: Lisheng Guan Date: Mon, 27 Nov 2023 19:24:17 +0800 Subject: [PATCH 1/4] hide donation from main menu --- .../java/com/money/manager/ex/home/MainActivity.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/money/manager/ex/home/MainActivity.java b/app/src/main/java/com/money/manager/ex/home/MainActivity.java index 28decf50c5..77143f1d8c 100644 --- a/app/src/main/java/com/money/manager/ex/home/MainActivity.java +++ b/app/src/main/java/com/money/manager/ex/home/MainActivity.java @@ -1084,11 +1084,11 @@ private ArrayList getDrawerMenuItems() { .withIconDrawable(uiHelper.getIcon(GoogleMaterial.Icon.gmd_settings) .color(iconColor))); // Donate - menuItems.add(new DrawerMenuItem().withId(R.id.menu_donate) - .withText(getString(R.string.donate)) - .withIconDrawable(uiHelper.getIcon(GoogleMaterial.Icon.gmd_card_giftcard) - .color(iconColor)) - .withDivider(Boolean.TRUE)); + // menuItems.add(new DrawerMenuItem().withId(R.id.menu_donate) + // .withText(getString(R.string.donate)) + // .withIconDrawable(uiHelper.getIcon(GoogleMaterial.Icon.gmd_card_giftcard) + // .color(iconColor)) + // .withDivider(Boolean.TRUE)); // Help menuItems.add(new DrawerMenuItem().withId(R.id.menu_about) .withText(getString(R.string.about)) From 72232162b66e5e0017f2da91901ae359e9f18817 Mon Sep 17 00:00:00 2001 From: Lisheng Guan Date: Mon, 27 Nov 2023 22:43:34 +0800 Subject: [PATCH 2/4] delete rate application link as it is not at google play --- .../java/com/money/manager/ex/about/AboutFragment.java | 2 ++ app/src/main/res/layout/about_fragment.xml | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/com/money/manager/ex/about/AboutFragment.java b/app/src/main/java/com/money/manager/ex/about/AboutFragment.java index a8aba3831e..6a94307004 100644 --- a/app/src/main/java/com/money/manager/ex/about/AboutFragment.java +++ b/app/src/main/java/com/money/manager/ex/about/AboutFragment.java @@ -102,6 +102,7 @@ public void onClick(View v) { }); // rate application + /* TextView txtRate = view.findViewById(R.id.textViewLinkRate); text = "" + txtRate.getText() + ""; txtRate.setText(Html.fromHtml(text)); @@ -109,6 +110,7 @@ public void onClick(View v) { OnClickListenerUrl clickListenerRate = new OnClickListenerUrl(); clickListenerRate.setUrl("http://play.google.com/store/apps/details?id=com.money.manager.ex"); txtRate.setOnClickListener(clickListenerRate); + */ // application issue tracker TextView txtIssues = view.findViewById(R.id.textViewIssuesTracker); diff --git a/app/src/main/res/layout/about_fragment.xml b/app/src/main/res/layout/about_fragment.xml index f3471110ff..6321b049e5 100644 --- a/app/src/main/res/layout/about_fragment.xml +++ b/app/src/main/res/layout/about_fragment.xml @@ -68,14 +68,6 @@ android:layout_marginTop="4dp" android:text="@string/mmex_website"/> - - Date: Tue, 28 Nov 2023 10:26:10 +0800 Subject: [PATCH 3/4] unify homesite url --- app/src/main/java/com/money/manager/ex/DonateActivity.java | 2 +- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/money/manager/ex/DonateActivity.java b/app/src/main/java/com/money/manager/ex/DonateActivity.java index b8bb961295..8002bd934c 100644 --- a/app/src/main/java/com/money/manager/ex/DonateActivity.java +++ b/app/src/main/java/com/money/manager/ex/DonateActivity.java @@ -83,7 +83,7 @@ protected void onDirectDonationClick() { @OnClick(R.id.homepageButton) protected void onHomepageClick() { - String siteUrl = "http://android.moneymanagerex.org/"; + String siteUrl = "https://moneymanagerex.org/?utm_campaign=Application_Android"; Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(siteUrl)); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 04d25566f8..f7874c2061 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -569,7 +569,7 @@ Update available There is an updated database file available online. Would you like to update? Currency not found - Our homepage is http://android.moneymanagerex.org/ + Our homepage is https://moneymanagerex.org/ Current database You can send us the application log by clicking the button below. Filter by Transaction Type From e361a59ecc00544cbfb78abc695ada0dd9b53424 Mon Sep 17 00:00:00 2001 From: Lisheng Guan Date: Tue, 28 Nov 2023 14:11:11 +0800 Subject: [PATCH 4/4] hide donation from setting menu --- app/src/main/res/xml/preferences.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index b4eaff568b..c0e2eb8279 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -48,10 +48,6 @@ android:icon="@null" android:key="@string/pref_database" android:title="@string/database" /> -