Remove the ability to tap off RYA

This commit is contained in:
Arkadiusz Chmura 2019-04-05 21:23:03 +02:00 committed by Phillip Thelen
parent 1850805910
commit d5f4f5bbb6

View file

@ -175,6 +175,8 @@ class YesterdailyDialog private constructor(context: Context, private val userRe
private fun showDialog(activity: Activity, userRepository: UserRepository, taskRepository: TaskRepository, tasks: List<Task>) {
val dialog = YesterdailyDialog(activity, userRepository, taskRepository, tasks)
dialog.setCancelable(false)
dialog.setCanceledOnTouchOutside(false)
if (!activity.isFinishing) {
dialog.show()
isDisplaying = true