mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 05:37:47 +02:00
Small fix
This commit is contained in:
@ -65,9 +65,9 @@ public class CheckUpdates extends ParallelTask<Void, Void, Void> {
|
|||||||
if (mm == null) return;
|
if (mm == null) return;
|
||||||
if (showNotification && mm.updateNotification) {
|
if (showNotification && mm.updateNotification) {
|
||||||
if (BuildConfig.VERSION_CODE < mm.remoteManagerVersionCode) {
|
if (BuildConfig.VERSION_CODE < mm.remoteManagerVersionCode) {
|
||||||
Utils.showManagerUpdate(mm);
|
Utils.showManagerUpdateNotification(mm);
|
||||||
} else if (mm.magiskVersionCode < mm.remoteMagiskVersionCode) {
|
} else if (mm.magiskVersionCode < mm.remoteMagiskVersionCode) {
|
||||||
Utils.showMagiskUpdate(mm);
|
Utils.showMagiskUpdateNotification(mm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mm.updateCheckDone.publish();
|
mm.updateCheckDone.publish();
|
||||||
|
Reference in New Issue
Block a user