From 45d7879d7b4fa5d217417f0d084c7f16c3f7931c Mon Sep 17 00:00:00 2001 From: am4z1ng <41553028+am4z1ng@users.noreply.github.com> Date: Fri, 25 Jan 2019 01:21:43 +0200 Subject: [PATCH] Refresh logs page after clearing --- .../java/com/topjohnwu/magisk/fragments/MagiskLogFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/full/java/com/topjohnwu/magisk/fragments/MagiskLogFragment.java b/app/src/full/java/com/topjohnwu/magisk/fragments/MagiskLogFragment.java index fca4bc071..0099483c6 100644 --- a/app/src/full/java/com/topjohnwu/magisk/fragments/MagiskLogFragment.java +++ b/app/src/full/java/com/topjohnwu/magisk/fragments/MagiskLogFragment.java @@ -101,6 +101,7 @@ public class MagiskLogFragment extends BaseFragment { private void clearLogs() { Shell.su("echo -n > " + Const.MAGISK_LOG).submit(); + txtLog.setText(R.string.log_is_empty); SnackbarMaker.make(rv, R.string.logs_cleared, Snackbar.LENGTH_SHORT).show(); }