File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
raveandroid/src/main/java/com/flutterwave/raveandroid Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,9 @@ public void onBankSelected(Bank b) {
341
341
342
342
@ Override
343
343
public void showProgressIndicator (boolean active ) {
344
+
345
+ if (getActivity ().isFinishing ()) { return ; }
346
+
344
347
if (progessDialog == null ) {
345
348
progessDialog = new ProgressDialog (getActivity ());
346
349
progessDialog .setMessage ("Please wait..." );
Original file line number Diff line number Diff line change @@ -390,6 +390,8 @@ private void clearErrors() {
390
390
*/
391
391
@ Override
392
392
public void showProgressIndicator (boolean active ) {
393
+
394
+ if (getActivity ().isFinishing ()) { return ; }
393
395
if (progessDialog == null ) {
394
396
progessDialog = new ProgressDialog (getActivity ());
395
397
progessDialog .setMessage ("Please wait..." );
You can’t perform that action at this time.
0 commit comments