Improvements

- `MAGISK_OUTDATED` is now pointed to Magisk releases
- Install module button is now at top
pull/27/head
DerGoogler 3 years ago
parent eedf3cab3e
commit 841e414b6e

@ -41,7 +41,7 @@ public enum NotificationType implements NotificationTypeCst {
} }
}, },
MAGISK_OUTDATED(R.string.magisk_outdated, R.drawable.ic_baseline_update_24, v -> { MAGISK_OUTDATED(R.string.magisk_outdated, R.drawable.ic_baseline_update_24, v -> {
IntentHelper.openUrl(v.getContext(), "https://github.com/topjohnwu/Magisk"); IntentHelper.openUrl(v.getContext(), "https://github.com/topjohnwu/Magisk/releases");
}) { }) {
@Override @Override
public boolean shouldRemove() { public boolean shouldRemove() {
@ -118,7 +118,7 @@ public enum NotificationType implements NotificationTypeCst {
InstallerInitializer.peekMagiskPath() == null); InstallerInitializer.peekMagiskPath() == null);
} }
}); });
}, true) { }, false) {
@Override @Override
public boolean shouldRemove() { public boolean shouldRemove() {
return !BuildConfig.DEBUG && return !BuildConfig.DEBUG &&

Loading…
Cancel
Save