This commit is contained in:
topjohnwu 2018-07-27 22:44:09 +08:00
parent 473902f5f4
commit 546c7cebd3

View File

@ -122,6 +122,7 @@ public class MagiskLogFragment extends Fragment {
public void clearLogs() {
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();
}
}