Skip to content

Commit

Permalink
Fix crash while clearing data on Shizuku (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza417 authored Jul 31, 2024
1 parent b9d2ba0 commit 799cfb0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,11 @@ class ClearDataViewModel(application: Application, val packageInfo: PackageInfo)
Log.d("ClearData", it.toString())
}
}.onFailure {
result.postValue("\n" + it.message!!)
success.postValue("Failed")
postError(it)
}.onSuccess {
success.postValue("Done")
}.getOrElse {
result.postValue("\n" + it.message!!)
success.postValue("Failed")
postError(it)
}
Expand Down

0 comments on commit 799cfb0

Please sign in to comment.