Skip to content

Commit

Permalink
Update common-ui/src/main/java/com/duckduckgo/mobile/android/ui/view/…
Browse files Browse the repository at this point in the history
…dialog/TextAlertDialogBuilder.kt

Co-authored-by: Noelia Alcala <nalcalag@gmail.com>
  • Loading branch information
malmstein and nalcalag committed Dec 14, 2022
1 parent 756df2d commit a6c92d7
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,7 @@ class TextAlertDialogBuilder(val context: Context) : DaxAlertDialog {
dialog?.dismiss()
}

override fun isShowing(): Boolean {
return if (dialog != null) {
dialog!!.isShowing
} else {
false
}
}
override fun isShowing(): Boolean = dialog?.isShowing == true

private fun setViews(
binding: DialogTextAlertBinding,
Expand Down

0 comments on commit a6c92d7

Please sign in to comment.