Skip to content

Commit 69df039

Browse files
Update DonateActivity.java
1 parent 4c93d27 commit 69df039

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

app/src/main/java/com/creativetrends/app/simplicity/activities/DonateActivity.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -86,36 +86,36 @@ public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
8686
seekBar.setProgress(progress);
8787
switch (progress){
8888
case 0:
89-
amount.setText("$1.85");
90-
description.setText("Buys me a small coffee.");
89+
amount.setText("");
90+
description.setText("");
9191
break;
9292

9393
case 1:
94-
amount.setText("$2.37");
95-
description.setText("Buys me a large coffee.");
94+
amount.setText("");
95+
description.setText("");
9696
break;
9797

9898
case 2:
99-
amount.setText("$4.43");
100-
description.setText("Buys me an extra large coffee.");
99+
amount.setText(""");
100+
description.setText("");
101101
break;
102102

103103
case 3:
104-
amount.setText("$6.49");
105-
description.setText("Buys me a small lunch.");
104+
amount.setText("");
105+
description.setText("");
106106
break;
107107
case 4:
108-
amount.setText("$15.76");
109-
description.setText("Wow! Are you sure?");
108+
amount.setText("");
109+
description.setText("");
110110
break;
111111
case 5:
112-
amount.setText("$20.91");
113-
description.setText("That's a lot!! Are you sure?");
112+
amount.setText("");
113+
description.setText("");
114114
break;
115115

116116
default:
117-
amount.setText("$1.85");
118-
description.setText("Buys me a small coffee.");
117+
amount.setText("");
118+
description.setText("");
119119
break;
120120

121121
}
@@ -138,7 +138,7 @@ public void onClick(View v) {
138138
case 0:
139139
try{
140140
Intent intent = new Intent(Intent.ACTION_VIEW);
141-
intent.setData(Uri.parse("https://www.paypal.me/creativetrends/1.85"));
141+
intent.setData(Uri.parse(""));
142142
startActivity(intent);
143143
} catch (ActivityNotFoundException e) {
144144
e.printStackTrace();
@@ -148,7 +148,7 @@ public void onClick(View v) {
148148
case 1:
149149
try{
150150
Intent intent = new Intent(Intent.ACTION_VIEW);
151-
intent.setData(Uri.parse("https://www.paypal.me/creativetrends/2.37"));
151+
intent.setData(Uri.parse(""));
152152
startActivity(intent);
153153
} catch (ActivityNotFoundException e) {
154154
e.printStackTrace();
@@ -158,7 +158,7 @@ public void onClick(View v) {
158158
case 2:
159159
try{
160160
Intent intent = new Intent(Intent.ACTION_VIEW);
161-
intent.setData(Uri.parse("https://www.paypal.me/creativetrends/4.43"));
161+
intent.setData(Uri.parse(""));
162162
startActivity(intent);
163163
} catch (ActivityNotFoundException e) {
164164
e.printStackTrace();
@@ -168,7 +168,7 @@ public void onClick(View v) {
168168
case 3:
169169
try{
170170
Intent intent = new Intent(Intent.ACTION_VIEW);
171-
intent.setData(Uri.parse("https://www.paypal.me/creativetrends/6.49"));
171+
intent.setData(Uri.parse(""));
172172
startActivity(intent);
173173
} catch (ActivityNotFoundException e) {
174174
e.printStackTrace();
@@ -177,7 +177,7 @@ public void onClick(View v) {
177177
case 4:
178178
try{
179179
Intent intent = new Intent(Intent.ACTION_VIEW);
180-
intent.setData(Uri.parse("https://www.paypal.me/creativetrends/15.76"));
180+
intent.setData(Uri.parse(""));
181181
startActivity(intent);
182182
} catch (ActivityNotFoundException e) {
183183
e.printStackTrace();
@@ -186,7 +186,7 @@ public void onClick(View v) {
186186
case 5:
187187
try{
188188
Intent intent = new Intent(Intent.ACTION_VIEW);
189-
intent.setData(Uri.parse("https://www.paypal.me/creativetrends/20.91"));
189+
intent.setData(Uri.parse(""));
190190
startActivity(intent);
191191
} catch (ActivityNotFoundException e) {
192192
e.printStackTrace();
@@ -196,7 +196,7 @@ public void onClick(View v) {
196196
default:
197197
try{
198198
Intent intent = new Intent(Intent.ACTION_VIEW);
199-
intent.setData(Uri.parse("https://www.paypal.me/creativetrends/1.85"));
199+
intent.setData(Uri.parse(""));
200200
startActivity(intent);
201201
} catch (ActivityNotFoundException e) {
202202
e.printStackTrace();

0 commit comments

Comments
 (0)