mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-15 10:41:58 +00:00
Fix showing right deletion dialog for broken challenges
# Conflicts: # Habitica/build.gradle
This commit is contained in:
parent
f34ec2724f
commit
4cebaa4be0
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ class TaskFormActivity : BaseActivity() {
|
|||
}
|
||||
|
||||
private fun deleteTask() {
|
||||
if (task?.challengeID?.isNotBlank() == true && task?.challengeBroken?.isNotBlank() != true) {
|
||||
if (task?.challengeID?.isNotBlank() == true) {
|
||||
showChallengeDeleteTask()
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue