mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 23:57:39 +00:00
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…
x
Reference in New Issue
Block a user