Refresh logs page after clearing
This commit is contained in:
parent
4a8375355c
commit
45d7879d7b
@ -101,6 +101,7 @@ public class MagiskLogFragment extends BaseFragment {
|
|||||||
|
|
||||||
private void clearLogs() {
|
private 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(rv, R.string.logs_cleared, Snackbar.LENGTH_SHORT).show();
|
SnackbarMaker.make(rv, R.string.logs_cleared, Snackbar.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user