Permalink
Browse files

Properly dismiss the SourceSetupActivity when the dialog is dismissed

  • Loading branch information...
ianhanniballake committed Oct 10, 2018
1 parent 03ca077 commit 928d81be2d509685dc3b5c3e446961a1e87c4d9c
Showing with 7 additions and 0 deletions.
  1. +7 −0 main/src/main/java/com/google/android/apps/muzei/sources/SourceSetupActivity.kt
@@ -105,4 +105,11 @@ class SourceWarningDialogFragment : DialogFragment() {
}
.create()
}
override fun onStop() {
if (!dialog.isShowing) {
requireActivity().finish()
}
super.onStop()
}
}

0 comments on commit 928d81b

Please sign in to comment.