Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cba54641 authored by tibbi's avatar tibbi
Browse files

remove the Donate button from the About page, it violates Googles Purchase policy

parent 8c03652c
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ class AboutActivity : BaseSimpleActivity() {
        setupRateUs()
        setupInvite()
        setupLicense()
        setupDonate()
        setupFacebook()
        setupGPlus()
        setupCopyright()
@@ -138,13 +137,6 @@ class AboutActivity : BaseSimpleActivity() {
        about_license.setTextColor(linkColor)
    }

    private fun setupDonate() {
        about_donate.setOnClickListener {
            launchViewIntent("https://simplemobiletools.github.io/donate/")
        }
        about_donate.setTextColor(linkColor)
    }

    private fun setupFacebook() {
        about_facebook.setOnClickListener {
            var link = "https://www.facebook.com/simplemobiletools"
+1 −11
Original line number Diff line number Diff line
@@ -86,21 +86,11 @@
            android:text="@string/third_party_licences_underlined"
            android:textColor="@color/color_primary"/>

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/about_donate"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/about_license"
            android:paddingBottom="@dimen/activity_margin"
            android:paddingTop="@dimen/activity_margin"
            android:text="@string/donate_underlined"
            android:textColor="@color/color_primary"/>

        <com.simplemobiletools.commons.views.MyTextView
            android:id="@+id/about_follow_us"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/about_donate"
            android:layout_below="@+id/about_license"
            android:paddingBottom="@dimen/medium_margin"
            android:paddingTop="@dimen/activity_margin"
            android:text="@string/follow_us"/>