diff options
Diffstat (limited to 'app/src/main/java/org/pacien/tincapp/context/App.kt')
-rw-r--r-- | app/src/main/java/org/pacien/tincapp/context/App.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/context/App.kt b/app/src/main/java/org/pacien/tincapp/context/App.kt index 89d1c73..2d9151e 100644 --- a/app/src/main/java/org/pacien/tincapp/context/App.kt +++ b/app/src/main/java/org/pacien/tincapp/context/App.kt | |||
@@ -66,7 +66,7 @@ class App : Application() { | |||
66 | AlertDialog.Builder(getContext(), R.style.Theme_AppCompat_Dialog) | 66 | AlertDialog.Builder(getContext(), R.style.Theme_AppCompat_Dialog) |
67 | .setTitle(title).setMessage(msg) | 67 | .setTitle(title).setMessage(msg) |
68 | .apply { if (manualLink != null) setNeutralButton(R.string.action_open_manual) { _, _ -> openURL(manualLink) } } | 68 | .apply { if (manualLink != null) setNeutralButton(R.string.action_open_manual) { _, _ -> openURL(manualLink) } } |
69 | .setPositiveButton(R.string.action_close, { _, _ -> Unit }) | 69 | .setPositiveButton(R.string.action_close) { _, _ -> Unit } |
70 | .create().apply { window.setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR) }.show() | 70 | .create().apply { window.setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR) }.show() |
71 | } | 71 | } |
72 | 72 | ||