diff --git a/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java b/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java index 9da5edd6c..964667f2c 100644 --- a/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java +++ b/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java @@ -42,10 +42,6 @@ public class FlashActivity extends BaseActivity { private List logs; - void dismiss() { - finish(); - } - void reboot() { Shell.su("/system/bin/reboot").submit(); } diff --git a/app/src/full/java/com/topjohnwu/magisk/ViewBinder.java b/app/src/full/java/com/topjohnwu/magisk/ViewBinder.java index ecaf39dd1..cdcdd6c59 100644 --- a/app/src/full/java/com/topjohnwu/magisk/ViewBinder.java +++ b/app/src/full/java/com/topjohnwu/magisk/ViewBinder.java @@ -52,7 +52,7 @@ public class ViewBinder { target.sv = target.findViewById(R.id.scrollView); target.reboot = target.findViewById(R.id.reboot); target.reboot.setOnClickListener(v -> target.reboot()); - target.findViewById(R.id.no_thanks).setOnClickListener(v -> target.finish()); + target.findViewById(R.id.close).setOnClickListener(v -> target.finish()); target.findViewById(R.id.save_logs).setOnClickListener(v -> target.saveLogs()); } diff --git a/app/src/full/res/layout/activity_flash.xml b/app/src/full/res/layout/activity_flash.xml index d33e6e726..b9aa35605 100644 --- a/app/src/full/res/layout/activity_flash.xml +++ b/app/src/full/res/layout/activity_flash.xml @@ -42,7 +42,7 @@ android:visibility="gone">