mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] DialogService
This commit is contained in:
parent
711413c52f
commit
aa9b84ba4a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue