Commit 45d7879d authored by am4z1ng's avatar am4z1ng Committed by John Wu

Refresh logs page after clearing

parent 4a837535
......@@ -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();
}
......
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