Browse Source
Changelog dialog not cancellable by touching outside
changelog
Ezerous
6 years ago
No known key found for this signature in database
GPG Key ID: 262B2954BBA319E3
1 changed files with
3 additions and
1 deletions
-
app/src/main/java/gr/thmmy/mthmmy/activities/main/MainActivity.java
|
|
@ -101,10 +101,12 @@ 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(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected void onNewIntent(Intent intent) { |
|
|
|