From ce503e242a335639e0c8644d4e2a2319be463b28 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 7 Jan 2021 21:23:57 +0800 Subject: [PATCH] Remove F-Droid info. --- .../settings/AboutPreferenceFragment.java | 10 ---------- .../utils/SharedPreferencesUtils.java | 1 - app/src/main/res/values-de/strings.xml | 3 --- app/src/main/res/values-es/strings.xml | 3 --- app/src/main/res/values-fr/strings.xml | 3 --- app/src/main/res/values-hi/strings.xml | 3 --- app/src/main/res/values-hr/strings.xml | 3 --- app/src/main/res/values-it/strings.xml | 3 --- app/src/main/res/values-ja/strings.xml | 3 --- app/src/main/res/values-pt-rBR/strings.xml | 3 --- app/src/main/res/values-tr-rTR/strings.xml | 3 --- app/src/main/res/values-zh-rCN/strings.xml | 3 --- app/src/main/res/values/strings.xml | 2 -- app/src/main/res/xml/about_preferences.xml | 5 ----- 14 files changed, 48 deletions(-) diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java index 8e30fc11..4e930fba 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/settings/AboutPreferenceFragment.java @@ -31,7 +31,6 @@ public class AboutPreferenceFragment extends PreferenceFragmentCompat { Preference openSourcePreference = findPreference(SharedPreferencesUtils.OPEN_SOURCE_KEY); Preference ratePreference = findPreference(SharedPreferencesUtils.RATE_KEY); - Preference fDroidPreference = findPreference(SharedPreferencesUtils.F_DROID_KEY); Preference emailPreference = findPreference(SharedPreferencesUtils.EMAIL_KEY); Preference redditAccountPreference = findPreference(SharedPreferencesUtils.REDDIT_ACCOUNT_KEY); Preference subredditPreference = findPreference(SharedPreferencesUtils.SUBREDDIT_KEY); @@ -62,15 +61,6 @@ public class AboutPreferenceFragment extends PreferenceFragmentCompat { }); } - if (fDroidPreference != null) { - fDroidPreference.setOnPreferenceClickListener(preference -> { - Intent intent = new Intent(activity, LinkResolverActivity.class); - intent.setData(Uri.parse("https://www.reddit.com/r/Infinity_For_Reddit/comments/f23o0y/for_anyone_who_wants_to_use_fdroid/")); - startActivity(intent); - return true; - }); - } - if (emailPreference != null) { emailPreference.setOnPreferenceClickListener(preference -> { Intent intent = new Intent(Intent.ACTION_SENDTO); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java index c288bb15..ece6d14a 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/SharedPreferencesUtils.java @@ -19,7 +19,6 @@ public class SharedPreferencesUtils { public static final String MATERIAL_ICONS_KEY = "material_icons"; public static final String OPEN_SOURCE_KEY = "open_source"; public static final String RATE_KEY = "rate"; - public static final String F_DROID_KEY = "f-droid"; public static final String EMAIL_KEY = "email"; public static final String REDDIT_ACCOUNT_KEY = "reddit_account"; public static final String SUBREDDIT_KEY = "subreddit"; diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 84405d32..49aa330a 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,7 +1,6 @@ "Anmelden" - "Suchen" "Kommentar senden" "Antworten" @@ -391,8 +390,6 @@ Funktioniert vielleicht nicht auf Android 11" "Wenn du diese App magst, gib ihr einen Stern auf GitHub" "Auf Google Play bewerten" "Gib mir eine 5-Stern-Bewertung und mach mich richtig glücklich" - "F-Droid" - "Es ist auf IzzyOnDroid verfügbar, einem F-Droid Repository" "E-Mail" "docilealligator.app@gmail.com" "Reddit-Konto" diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index cf688202..b9a5e7b9 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,7 +1,6 @@ "Iniciar sesión" - "Buscar" "Enviar comentario" "Responder" "Texto" @@ -395,8 +394,6 @@ Premio means prize, so it's better suited the first word instead of the second o "Dale una Estrella en GitHub si te gusta la app" "Calificar en Google Play" "Dame 5 estrellas y estaré muy feliz" - "F-Droid" - "Disponible en IzzyOnDroid, un repositorio de F-Droid" "Email" "docilealligator.app@gmail.com" "Cuenta de Reddit" diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 3d16b411..87e351b7 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -1,7 +1,6 @@ "Se Connecter" - "Rechercher" "Envoyer le commentaire" "Répondre" "Poster du texte" @@ -426,8 +425,6 @@ peut ne pas fonctionner sur Android 11" "Si vous aimez cette application, étoilez là sur GitHub" "Laissez une note sur Google Play" "Donnez-moi 5 étoiles et je serai ravi" - "F-Droid" - "Infinity est disponible sur IzzyOnDroid, un dépôt F-Droid" "E-mail" "docilealligator.app@gmail.com" "Compte Reddit" diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 44141878..3353c3fe 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -1,7 +1,6 @@ "लाॅग इन करें" - "खोजें" "टिप्पणी करें " "उत्तर दें" "टैक्स्ट पोस्ट" @@ -419,8 +418,6 @@ Behavior --> "यदि आपको यह एप्प पसंद आई तो Github पर इसे तारांकित करें " "गूगल प्ले पर रेट करें " "मुझे 5 सितारा रेटिंग दीजिए और मैं खुश हो जाऊंगा" - "F-Droid" - "यह IzzyOnDroid, एक F-Droid रेपोजिटरी पर उपलब्ध है " "ई मेल " "docilealligator.app@gmail.com" "रैडिट खाता " diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index d1455ae8..3b133ea1 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -1,7 +1,6 @@ "Prijava" - "Pretraživanje" "Komentiraj" "Odgovori" "Tekst" @@ -388,8 +387,6 @@ Možda ne radi na Androidu 11" "Ostavite zvijezdicu na Githubu ako Vam se sviđa ova aplikacija" "Ocijenite na Google Playu" "Bit ću presretan ako mi date ocjenu 5 zvijezdica" - "F-Droid" - "Dostupan na IzzyOnDroid, repozitorij na F-Droidu" "E-pošta" "docilealligator.app@gmail.com" "Reddit račun" diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index b2be9297..59e82ed3 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -1,7 +1,6 @@ "Login" - "Cerca" "Invia Commento" "Rispondi" "Post testuale" @@ -399,8 +398,6 @@ Potrebbe non funzionare su Android 11" "Se questa app ti piace, metti una stella al progetto su Github" "Vota su Google Play Store" "Dammi una recensione da 5 stelle e sarò veramente contento" - "F-Droid" - "È disponibile in IzzyOnDroid, un repository F-Droid" "Email" "docilealligator.app@gmail.com" "Account Reddit" diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index c2509673..706ffd70 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -1,7 +1,6 @@ "ログイン" - "検索" "コメントを送信" "返信" "テキスト" @@ -420,8 +419,6 @@ "このアプリが気に入ったようでしたらGitHubで星をつけてください" "Google Playで評価とレビュー" "五つ星のご評価をいただけるととても嬉しいです" - "F-Droid" - "IzzyOnDroidのF-Droidレポジトリでダウンロード可能です" "Email" "docilealligator.app@gmail.com" "Redditアカウント" diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 24c70f5b..5aa3a923 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -1,7 +1,6 @@ "Login" - "Buscar" "Comentar" "Responder" "Postar Texto" @@ -375,8 +374,6 @@ Toque para tentar novamente." "Favorite ele no Github se você está gostando do App" "Avalie no Google Play" "Me dê uma classificação de 5 estrelas e eu vou ficar muito feliz" - "F-Droid" - "Disponível para download também em: IzzyOnDroid, um Repositório F-Droid" "Email" "docilealligator.app@gmail.com" "Conta Reddit" diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml index b8c14681..a607773a 100644 --- a/app/src/main/res/values-tr-rTR/strings.xml +++ b/app/src/main/res/values-tr-rTR/strings.xml @@ -1,7 +1,6 @@ "Giriş" - "Arama" "Yorum Gönder" "Cevapla" "Metin Gönderisi" @@ -384,8 +383,6 @@ Tekrar denemek için tıklayın." "Bu uygulamayı beğendiyseniz Github'da yıldız verin" "Google Play'de Değerlendirin" "Bize 5 yıldız verirseniz gerçekten mutlu oluruz." - "F-Droid" - "Bir F-Droid Mahzeni olan IzzyOnDroid'de mevcuttur" "E-posta" "docilealligator.app@gmail.com" "Reddit Hesabı" diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 9da3879e..71bf3538 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -1,7 +1,6 @@ "登录" - "搜索" "发送评论" "回复" "文字" @@ -388,8 +387,6 @@ "如果您喜欢此应用,请在Github上给个star" "在Google Play上评分" "如果给我一个五星好评,我会非常高兴的" - "F-Droid应用市场" - "现在已经在F-Droid存储库IzzyOnDroid上架" "作者邮箱" "docilealligator.app@gmail.com" "作者Reddit帐户" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ae44cf19..cb020396 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -433,8 +433,6 @@ Star it on Github if you like this app Rate on Google Play Give me a 5-star rating and I will be really happy - F-Droid - It\'s available in IzzyOnDroid, an F-Droid Repository Email docilealligator.app@gmail.com Reddit Account diff --git a/app/src/main/res/xml/about_preferences.xml b/app/src/main/res/xml/about_preferences.xml index 5d8515ad..ded0ccee 100644 --- a/app/src/main/res/xml/about_preferences.xml +++ b/app/src/main/res/xml/about_preferences.xml @@ -26,11 +26,6 @@ app:title="@string/settings_rate_title" app:summary="@string/settings_rate_summary" /> - -