[FIX] DialogService

This commit is contained in:
Gravita 2021-08-02 03:40:09 +07:00
parent 711413c52f
commit aa9b84ba4a

View file

@ -35,7 +35,7 @@ private static void checkIfAvailable() {
}
public static void createNotification(NotificationEvent.NotificationType type, String head, String message) {
if (isNotificationsAvailable()) {
if (!isNotificationsAvailable()) {
throw new UnsupportedOperationException("DialogService notifications implementation not available");
}
notificationImpl.createNotification(type, head, message);