Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class NoCodesSandwich {
return screenPresentationConfigs[contextKey] ?: defaultPresentationConfig ?: QScreenPresentationConfig()
}
}
private lateinit var noCodesDelegate: NoCodesDelegate

// region Initialization

Expand Down Expand Up @@ -58,7 +59,8 @@ class NoCodesSandwich {
// region Delegate

fun setDelegate(eventListener: NoCodesEventListener) {
NoCodes.shared.setDelegate(createNoCodesDelegate(eventListener))
noCodesDelegate = createNoCodesDelegate(eventListener)
NoCodes.shared.setDelegate(noCodesDelegate)
}

fun setScreenCustomizationDelegate() {
Expand Down