Skip to content

Commit 403c89e

Browse files
committed
Merge branch 'staging'
2 parents 18b03c0 + 6b2cf5c commit 403c89e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

BrickHack-Mobile/AlertMessage.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class MessageHandler {
2222
// Precondition: must be called on the main thread
2323
static func showAlertMessage(withTitle title: String, body: String, type: MessageType ) {
2424

25+
// Disable previous alert if still visible
26+
SwiftMessages.hide()
27+
2528
let view = MessageView.viewFromNib(layout: .tabView)
2629

2730
// Map our fake type to their type

0 commit comments

Comments
 (0)