File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/kotlin/com/simplemobiletools/keyboard/dialogs Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import com.simplemobiletools.commons.extensions.onGlobalLayout
1212import com.simplemobiletools.commons.models.RadioItem
1313import com.simplemobiletools.keyboard.R
1414import com.simplemobiletools.keyboard.extensions.getKeyboardDialogBuilder
15+ import com.simplemobiletools.keyboard.extensions.safeStorageContext
1516import com.simplemobiletools.keyboard.extensions.setupKeyboardDialogStuff
1617
1718class KeyboardRadioGroupDialog (
@@ -23,7 +24,7 @@ class KeyboardRadioGroupDialog(
2324 private val cancelCallback : (() -> Unit )? = null ,
2425 private val callback : (newValue: Any ) -> Unit
2526) {
26- private val context = ContextThemeWrapper (inputView.context, R .style.MyKeyboard_Alert )
27+ private val context = ContextThemeWrapper (inputView.context.safeStorageContext , R .style.MyKeyboard_Alert )
2728 private var dialog: AlertDialog ? = null
2829 private var wasInit = false
2930 private var selectedItemId = - 1
You can’t perform that action at this time.
0 commit comments