diff --git a/app/src/main/java/org/shadowice/flocke/andotp/Fragments/BaseAboutFragment.java b/app/src/main/java/org/shadowice/flocke/andotp/Fragments/BaseAboutFragment.java index 2fd3d483..d8dbeb94 100644 --- a/app/src/main/java/org/shadowice/flocke/andotp/Fragments/BaseAboutFragment.java +++ b/app/src/main/java/org/shadowice/flocke/andotp/Fragments/BaseAboutFragment.java @@ -36,18 +36,16 @@ public class BaseAboutFragment extends Fragment { private static final String AUTHOR_ORIGINAL_GITHUB = "https://github.com/0xbb"; private static final String AUTHOR_ORIGINAL_EXTRA = AUTHOR_ORIGINAL_GITHUB + "/otp-authenticator"; - private static final String CONTRIBUTORS_URI = GITHUB_URI + "/blob/master/README.md#contributors"; - private static final String TRANSLATORS_URI = GITHUB_URI + "/blob/master/README.md#translators"; + private static final String CONTRIBUTORS_URI = GITHUB_URI + "/graphs/contributors"; - private static final String BUGREPORT_URI = GITHUB_URI + "/issues"; - private static final String TRANSLATE_URI = "https://crowdin.com/project/andotp"; + private static final String SUPPORT_URI = GITHUB_URI + "/blob/master/README.md#contribute"; private Settings settings; static final int[] imageResources = { R.id.aboutImgVersion, R.id.aboutImgLicense, R.id.aboutImgChangelog, R.id.aboutImgSource, R.id.aboutImgAuthor2, R.id.aboutImgAuthorOriginal, R.id.aboutImgContributors, - R.id.aboutImgTranslators, R.id.aboutImgBugs, R.id.aboutImgTranslate + R.id.aboutImgSupport }; static long lastTap = 0; @@ -170,32 +168,18 @@ public class BaseAboutFragment extends Fragment { }); LinearLayout contributors = v.findViewById(R.id.about_layout_contributors); - LinearLayout translators = v.findViewById(R.id.about_layout_translators); contributors.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { openURI(CONTRIBUTORS_URI); } }); - translators.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View view) { - openURI(TRANSLATORS_URI); - } - }); - LinearLayout bugReport = v.findViewById(R.id.about_layout_bugs); - LinearLayout translate = v.findViewById(R.id.about_layout_translate); - bugReport.setOnClickListener(new View.OnClickListener() { + LinearLayout supportLayout = v.findViewById(R.id.about_layout_support); + supportLayout.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - openURI(BUGREPORT_URI); - } - }); - translate.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View view) { - openURI(TRANSLATE_URI); + openURI(SUPPORT_URI); } }); diff --git a/app/src/main/res/drawable/ic_bug_report_gray.xml b/app/src/main/res/drawable/ic_bug_report_gray.xml deleted file mode 100644 index f52e890b..00000000 --- a/app/src/main/res/drawable/ic_bug_report_gray.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_heart_gray.xml b/app/src/main/res/drawable/ic_heart_gray.xml new file mode 100644 index 00000000..30d3cba5 --- /dev/null +++ b/app/src/main/res/drawable/ic_heart_gray.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_translate_gray.xml b/app/src/main/res/drawable/ic_translate_gray.xml deleted file mode 100644 index 22c74ae8..00000000 --- a/app/src/main/res/drawable/ic_translate_gray.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml index a1df7d28..ea932fde 100644 --- a/app/src/main/res/layout/fragment_about.xml +++ b/app/src/main/res/layout/fragment_about.xml @@ -410,34 +410,6 @@ - - - - - - - - - @@ -448,35 +420,23 @@ android:layout_marginBottom="@dimen/activity_margin_small" style="?attr/cardStyle" > - - - - - + app:srcCompat="@drawable/ic_heart_gray" /> @@ -495,53 +455,11 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/about_desc_report_bugs"/> + android:text="@string/about_desc_support"/> - - - - - - - - - - - - - - - diff --git a/app/src/main/res/values/strings_about.xml b/app/src/main/res/values/strings_about.xml index 35700ebb..0be0ad24 100644 --- a/app/src/main/res/values/strings_about.xml +++ b/app/src/main/res/values/strings_about.xml @@ -45,12 +45,7 @@ Support development - - Report Bugs - Translate - - Report bugs or request new features - Help to translate andOTP to your language + Find out how you can support the development of andOTP Special features Are you sure you want to enable the special