mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 12:56:45 -06:00
[EventBus] Fix crash when opening EventManualDialog.
This commit is contained in:
parent
d191982da6
commit
1b271bd20e
@ -84,7 +84,7 @@ class EventManualDialog(
|
||||
if (activity.isFinishing)
|
||||
return@launch
|
||||
onShowListener?.invoke(TAG)
|
||||
EventBus.getDefault().register(this)
|
||||
EventBus.getDefault().register(this@EventManualDialog)
|
||||
b = DialogEventManualV2Binding.inflate(activity.layoutInflater)
|
||||
dialog = MaterialAlertDialogBuilder(activity)
|
||||
.setTitle(R.string.dialog_event_manual_title)
|
||||
|
Loading…
x
Reference in New Issue
Block a user