File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
src/main/java/ru/plumsoftware/notebook/activities Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ android {
1010 applicationId " ru.plumsoftware.notebook"
1111 minSdk 22
1212 targetSdk 34
13- versionCode 25
14- versionName " 1.5.5 "
13+ versionCode 26
14+ versionName " 1.5.6 "
1515
1616 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1717 }
Original file line number Diff line number Diff line change @@ -441,9 +441,9 @@ public void onBackPressed() {
441441 intent .putExtra ("LoadInterstitialAd" , false );
442442 }
443443// super.onBackPressed();
444- progressDialog .showDialog ();
445444 if (isLoadIntAds )
446445 if (mInterstitialAdLoader != null ) {
446+ progressDialog .showDialog ();
447447 final AdRequestConfiguration adRequestConfiguration =
448448 new AdRequestConfiguration .Builder ("R-M-1957919-2" ).build ();
449449 mInterstitialAdLoader .loadAd (adRequestConfiguration );
@@ -452,6 +452,11 @@ public void onBackPressed() {
452452 overridePendingTransition (0 , 0 );
453453 finish ();
454454 }
455+ else {
456+ startActivity (intent );
457+ overridePendingTransition (0 , 0 );
458+ finish ();
459+ }
455460 }
456461
457462 private void setDateAndTime () {
You can’t perform that action at this time.
0 commit comments