PopupView and Transimission can interfere with each other and cause an issue with the root screen becoming black and the app getting stuck.
10 lines
264 B
Swift
10 lines
264 B
Swift
import Foundation
|
|
import Services
|
|
import Views
|
|
|
|
extension Snackbar {
|
|
static func show(message: String, undoAction: (() -> Void)? = nil, dismissAfter: Int?) {
|
|
NSNotification.snackBar(message: message, undoAction: undoAction, dismissAfter: dismissAfter)
|
|
}
|
|
}
|