Browse Source

Changelog dialog not cancellable by touching outside

changelog
Ezerous 6 years ago
parent
commit
629bd7cd9e
No known key found for this signature in database GPG Key ID: 262B2954BBA319E3
  1. 4
      app/src/main/java/gr/thmmy/mthmmy/activities/main/MainActivity.java

4
app/src/main/java/gr/thmmy/mthmmy/activities/main/MainActivity.java

@ -101,8 +101,10 @@ public class MainActivity extends BaseActivity implements RecentFragment.RecentF
if (Changelog.getLaunchType(this) == Changelog.LAUNCH_TYPE.FIRST_LAUNCH_AFTER_UPDATE) { if (Changelog.getLaunchType(this) == Changelog.LAUNCH_TYPE.FIRST_LAUNCH_AFTER_UPDATE) {
AlertDialog dialog = Changelog.getChangelogDialog(this); AlertDialog dialog = Changelog.getChangelogDialog(this);
if(dialog!=null) if(dialog!=null){
dialog.setCanceledOnTouchOutside(false);
dialog.show(); dialog.show();
}
} }
} }

Loading…
Cancel
Save