Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -250,16 +250,16 @@ public class CouponShareActivity extends Activity implements View.OnClickListene | ... | @@ -250,16 +250,16 @@ public class CouponShareActivity extends Activity implements View.OnClickListene |
250 | .setTitle(R.string.cos_dlg_success_title) | 250 | .setTitle(R.string.cos_dlg_success_title) |
251 | .setMessage(R.string.cos_dlg_positive_coupon_text) | 251 | .setMessage(R.string.cos_dlg_positive_coupon_text) |
252 | .setPositiveButton(R.string.cos_dlg_positive_button2, (dialogPositive, whichPositive) -> { | 252 | .setPositiveButton(R.string.cos_dlg_positive_button2, (dialogPositive, whichPositive) -> { |
253 | - dialogPositive.dismiss(); | 253 | +// dialogPositive.dismiss(); |
254 | if (mIsFromWallet) { | 254 | if (mIsFromWallet) { |
255 | setResult(RESULT_OK); | 255 | setResult(RESULT_OK); |
256 | - onBackPressed(); | 256 | + finish(); |
257 | } | 257 | } |
258 | }) | 258 | }) |
259 | .setOnDismissListener(dialog -> { | 259 | .setOnDismissListener(dialog -> { |
260 | if (mIsFromWallet) { | 260 | if (mIsFromWallet) { |
261 | setResult(RESULT_OK); | 261 | setResult(RESULT_OK); |
262 | - onBackPressed(); | 262 | + finish(); |
263 | } | 263 | } |
264 | }) | 264 | }) |
265 | .show(); | 265 | .show(); | ... | ... |
-
Please register or login to post a comment