Commit 546c7ceb authored by topjohnwu's avatar topjohnwu

Fix #411

parent 473902f5
...@@ -122,6 +122,7 @@ public class MagiskLogFragment extends Fragment { ...@@ -122,6 +122,7 @@ public class MagiskLogFragment extends Fragment {
public void clearLogs() { public void clearLogs() {
Shell.su("echo -n > " + Const.MAGISK_LOG).submit(); Shell.su("echo -n > " + Const.MAGISK_LOG).submit();
txtLog.setText(R.string.log_is_empty);
SnackbarMaker.make(txtLog, R.string.logs_cleared, Snackbar.LENGTH_SHORT).show(); SnackbarMaker.make(txtLog, R.string.logs_cleared, Snackbar.LENGTH_SHORT).show();
} }
} }
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