Commit 2abd0265 authored by d8ahazard's avatar d8ahazard

Merges, and stuff

parents 5898534c f96865c2
......@@ -3,3 +3,4 @@
/local.properties
.idea/
/build
app/src/main/java/com/topjohnwu/magisk/RootFragment.java
\ No newline at end of file
......@@ -120,9 +120,6 @@ public class ReposAdapter extends RecyclerView.Adapter<ReposAdapter.ViewHolder>
String logUrl = repo.getmLogUrl();
String supportUrl = repo.getmSupportUrl();
String donateUrl = repo.getmDonateUrl();
if (supportUrl.equals("")) mHolder.supportLink.setBackgroundColor(Color.GRAY);
if (logUrl.equals("")) mHolder.changeLog.setBackgroundColor(Color.GRAY);
if (donateUrl.equals("")) mHolder.authorLink.setBackgroundColor(Color.GRAY);
if (prefs.contains("ignoreUpdateAlerts")) {
ignoreAlertUpdate = prefs.getBoolean("ignoreUpdateAlerts",false);
}
......
......@@ -236,7 +236,7 @@ public class RootFragment extends Fragment {
break;
} else {
rootToggle.setEnabled(true);
if (new File("/system/xbin/su").exists()) {
if (new File("/magisk/.core/bin/su").exists()) {
// Mounted
rootStatusContainer.setBackgroundColor(accent);
rootStatusIcon.setImageResource(statusError);
......@@ -257,7 +257,6 @@ public class RootFragment extends Fragment {
safetyNetStatus.setText(R.string.root_unmounted_info);
break;
}
}
case 2:
// Improper root
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment