Skip to content

Commit

Permalink
Temporarily removed PayPal/Patreon links from the app.
Browse files Browse the repository at this point in the history
  • Loading branch information
Emzi0767 committed Jul 28, 2018
1 parent 414ab70 commit 9bb23b7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for R6: Strat Roulette

### v1.1.2-r2 (released: 2018-07-28 07:27 +02:00)
- FIX: Remove PayPal and Patreon links, apparently Google is mad about them now
- Why weren't they before? 🤔

### v1.1.2 (released: 2018-07-28 03:45 +02:00)
- FIX: Actually bumped requried API level to Android 5.0

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ android {
applicationId "com.emzi0767.r6stratroulette"
minSdkVersion 21
targetSdkVersion 27
versionCode 6
versionName "1.1.2"
versionCode 7
versionName "1.1.2-r2"
}
buildTypes {
release {
Expand Down
22 changes: 11 additions & 11 deletions app/src/main/java/com/emzi0767/r6stratroulette/AboutFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
// Inflate the layout for this fragment
View v = inflater.inflate(R.layout.fragment_about, container, false);

Button supportPP = v.findViewById(R.id.btn_about_support_paypal);
supportPP.setOnClickListener(x -> {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(this.getString(R.string.about_paypal_url)));
this.startActivity(browserIntent);
});

Button supportPT = v.findViewById(R.id.btn_about_support_patreon);
supportPT.setOnClickListener(x -> {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(this.getString(R.string.about_patreon_url)));
this.startActivity(browserIntent);
});
// Button supportPP = v.findViewById(R.id.btn_about_support_paypal);
// supportPP.setOnClickListener(x -> {
// Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(this.getString(R.string.about_paypal_url)));
// this.startActivity(browserIntent);
// });
//
// Button supportPT = v.findViewById(R.id.btn_about_support_patreon);
// supportPT.setOnClickListener(x -> {
// Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(this.getString(R.string.about_patreon_url)));
// this.startActivity(browserIntent);
// });

return v;
}
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/fragment_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
android:autoLink="web"
android:linksClickable="true" />

<TextView
<!-- <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/about_supportme"
Expand Down Expand Up @@ -120,7 +120,7 @@
android:background="@color/colorPrimary"
android:padding="4dp" />
</LinearLayout>
</LinearLayout> -->

<TextView
android:layout_width="wrap_content"
Expand Down

0 comments on commit 9bb23b7

Please sign in to comment.