From 629bd7cd9e0a22128f1361d131397d0aec542061 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Thu, 11 Oct 2018 15:49:59 +0300 Subject: [PATCH] Changelog dialog not cancellable by touching outside --- .../java/gr/thmmy/mthmmy/activities/main/MainActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/main/MainActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/main/MainActivity.java index 0e25a92f..4a54f66e 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/main/MainActivity.java +++ b/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) { AlertDialog dialog = Changelog.getChangelogDialog(this); - if(dialog!=null) + if(dialog!=null){ + dialog.setCanceledOnTouchOutside(false); dialog.show(); + } } }