Commit f4296fb7 authored by ekager's avatar ekager Committed by Jonathan Almeida
Browse files

For #13179 - Ensure we only dismiss share prompt once

parent a1a839f2
......@@ -43,11 +43,6 @@ class ShareFragment : AppCompatDialogFragment() {
viewModel.loadDevicesAndApps()
}
override fun dismiss() {
consumePrompt { onDismiss() }
super.dismiss()
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setStyle(STYLE_NO_TITLE, R.style.ShareDialogStyle)
......@@ -55,6 +50,7 @@ class ShareFragment : AppCompatDialogFragment() {
override fun onPause() {
super.onPause()
consumePrompt { onDismiss() }
dismiss()
}
......
Supports Markdown
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