You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Add CacheModule display string to title
This commit is contained in:
@@ -31,7 +31,7 @@ public class Repo {
|
||||
private String mDonateUrl;
|
||||
private String lastUpdate;
|
||||
private Context appContext;
|
||||
private boolean mIsInstalled,mCanUpdate;
|
||||
private boolean mIsInstalled,mCanUpdate,mIsCacheModule;
|
||||
|
||||
|
||||
public Repo(String manifestString, Context context) {
|
||||
@@ -133,6 +133,9 @@ public class Repo {
|
||||
case "donate":
|
||||
this.mDonateUrl = props[1];
|
||||
break;
|
||||
case "cacheModule":
|
||||
this.mIsCacheModule = Boolean.valueOf(props[1]);
|
||||
break;
|
||||
case "support":
|
||||
this.mSupportUrl = props[1];
|
||||
break;
|
||||
@@ -261,5 +264,6 @@ public class Repo {
|
||||
|
||||
public boolean isInstalled() { return mIsInstalled; }
|
||||
public boolean canUpdate() { return mCanUpdate; }
|
||||
public boolean isCacheModule() { return mIsCacheModule; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user