Remove liberapay (#754)
remove about screen remove liberapay Co-authored-by: M M Arif <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/754
This commit is contained in:
parent
63d3c95501
commit
dcec158076
@ -1,6 +1,6 @@
|
|||||||
[](https://www.gnu.org/licenses/gpl-3.0)  [](https://codeberg.org/gitnex/GitNex/releases) [](https://crowdin.com/project/gitnex) [](https://discord.gg/FbSS4rf)
|
[](https://www.gnu.org/licenses/gpl-3.0)  [](https://codeberg.org/gitnex/GitNex/releases) [](https://crowdin.com/project/gitnex) [](https://discord.gg/FbSS4rf)
|
||||||
|
|
||||||
[<img alt="Become a Patroen" src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" height="40"/>](https://www.patreon.com/mmarif) [<img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="40"/>](https://liberapay.com/mmarif/donate)
|
[<img alt="Become a Patroen" src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" height="40"/>](https://www.patreon.com/mmarif)
|
||||||
|
|
||||||
# GitNex - Android client for Gitea
|
# GitNex - Android client for Gitea
|
||||||
|
|
||||||
|
@ -32,15 +32,6 @@ public class AboutFragment extends Fragment {
|
|||||||
|
|
||||||
((MainActivity) requireActivity()).setActionBarTitle(getResources().getString(R.string.pageTitleAbout));
|
((MainActivity) requireActivity()).setActionBarTitle(getResources().getString(R.string.pageTitleAbout));
|
||||||
|
|
||||||
viewBinding.donationLinkLiberapay.setOnClickListener(v1 -> {
|
|
||||||
|
|
||||||
Intent intent = new Intent();
|
|
||||||
intent.setAction(Intent.ACTION_VIEW);
|
|
||||||
intent.addCategory(Intent.CATEGORY_BROWSABLE);
|
|
||||||
intent.setData(Uri.parse(getResources().getString(R.string.supportLink)));
|
|
||||||
startActivity(intent);
|
|
||||||
});
|
|
||||||
|
|
||||||
viewBinding.donationLinkPatreon.setOnClickListener(v12 -> {
|
viewBinding.donationLinkPatreon.setOnClickListener(v12 -> {
|
||||||
|
|
||||||
Intent intent = new Intent();
|
Intent intent = new Intent();
|
||||||
@ -72,7 +63,6 @@ public class AboutFragment extends Fragment {
|
|||||||
|
|
||||||
viewBinding.supportHeader.setVisibility(View.GONE);
|
viewBinding.supportHeader.setVisibility(View.GONE);
|
||||||
viewBinding.dividerSupport.setVisibility(View.GONE);
|
viewBinding.dividerSupport.setVisibility(View.GONE);
|
||||||
viewBinding.donationLinkLiberapay.setVisibility(View.GONE);
|
|
||||||
viewBinding.donationLinkPatreon.setVisibility(View.GONE);
|
viewBinding.donationLinkPatreon.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,17 +142,6 @@
|
|||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:layout_marginBottom="5dp" />
|
android:layout_marginBottom="5dp" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/donationLinkLiberapay"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/supportTextLiberapay"
|
|
||||||
android:textColor="@color/lightBlue"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:autoLink="web"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:textColorLink="@color/lightBlue" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/donationLinkPatreon"
|
android:id="@+id/donationLinkPatreon"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
<string name="appRepoLink" translatable="false">https://codeberg.org/gitnex/GitNex</string>
|
<string name="appRepoLink" translatable="false">https://codeberg.org/gitnex/GitNex</string>
|
||||||
<string name="appWebsiteLink" translatable="false">https://gitnex.com/</string>
|
<string name="appWebsiteLink" translatable="false">https://gitnex.com/</string>
|
||||||
<string name="commitPage" translatable="false">Your Gitea Version</string>
|
<string name="commitPage" translatable="false">Your Gitea Version</string>
|
||||||
<string name="supportLink" translatable="false">https://liberapay.com/mmarif/donate</string>
|
|
||||||
<string name="supportLinkPatreon" translatable="false">https://www.patreon.com/mmarif</string>
|
<string name="supportLinkPatreon" translatable="false">https://www.patreon.com/mmarif</string>
|
||||||
<string name="appVersion" translatable="false">Version</string>
|
<string name="appVersion" translatable="false">Version</string>
|
||||||
<string name="appBuild" translatable="false">Build</string>
|
<string name="appBuild" translatable="false">Build</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user