Skip to content

Commit

Permalink
Implemented new popup message #1617 #509 #852
Browse files Browse the repository at this point in the history
  • Loading branch information
fast4x committed Apr 25, 2024
1 parent ccf3e23 commit 3a19aff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fun SmartToast(
.backgroundColor(backgroundColor.hashCode())
.commit()
}

when(type) {
PopupType.Info -> if (durationLong == true) smartToast.infoLong(message) else smartToast.info(message)
PopupType.Error -> if (durationLong == true) smartToast.errorLong(message) else smartToast.error(message)
Expand Down

0 comments on commit 3a19aff

Please sign in to comment.