BusinessNotif disabler

This commit is contained in:
gdlbo
2022-11-13 20:33:46 +03:00
parent cc4690965a
commit ec551dcb33
7 changed files with 33 additions and 0 deletions
@@ -0,0 +1,9 @@
package ru.vtosters.lite.hooks;
import static ru.vtosters.lite.utils.Preferences.getBoolValue;
public class BusinessNotifHook {
public static boolean hook(boolean i){
return !getBoolValue("businessDisabler", false) && i;
}
}