We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18b03c0 + 6b2cf5c commit 403c89eCopy full SHA for 403c89e
1 file changed
BrickHack-Mobile/AlertMessage.swift
@@ -22,6 +22,9 @@ class MessageHandler {
22
// Precondition: must be called on the main thread
23
static func showAlertMessage(withTitle title: String, body: String, type: MessageType ) {
24
25
+ // Disable previous alert if still visible
26
+ SwiftMessages.hide()
27
+
28
let view = MessageView.viewFromNib(layout: .tabView)
29
30
// Map our fake type to their type
0 commit comments