Commit cbc8d3aa authored by Emily Kager's avatar Emily Kager Committed by Jeff Boek
Browse files

For #8366 - Move CreateShortcutFragment dismiss after AddToHomescreen

parent b5379eb5
......@@ -44,7 +44,8 @@ class CreateShortcutFragment : DialogFragment() {
val text = shortcut_text.text.toString()
viewLifecycleOwner.lifecycleScope.launch {
requireComponents.useCases.webAppUseCases.addToHomescreen(text)
}.invokeOnCompletion { dismiss() }
}
dismiss()
}
shortcut_text.addTextChangedListener {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment