mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 00:17:39 +00:00
Small fix
This commit is contained in:
parent
62f42b72f8
commit
f7df17a7ed
@ -65,9 +65,9 @@ public class CheckUpdates extends ParallelTask<Void, Void, Void> {
|
||||
if (mm == null) return;
|
||||
if (showNotification && mm.updateNotification) {
|
||||
if (BuildConfig.VERSION_CODE < mm.remoteManagerVersionCode) {
|
||||
Utils.showManagerUpdate(mm);
|
||||
Utils.showManagerUpdateNotification(mm);
|
||||
} else if (mm.magiskVersionCode < mm.remoteMagiskVersionCode) {
|
||||
Utils.showMagiskUpdate(mm);
|
||||
Utils.showMagiskUpdateNotification(mm);
|
||||
}
|
||||
}
|
||||
mm.updateCheckDone.publish();
|
||||
|
Loading…
x
Reference in New Issue
Block a user