Refresh logs page after clearing

This commit is contained in:
am4z1ng 2019-01-25 01:21:43 +02:00 committed by John Wu
parent 4a8375355c
commit 45d7879d7b

View File

@ -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();
}