Merge pull request #255 from cyb3rko/fix-log-clear
Fix clearing log not updating textview
This commit is contained in:
@@ -55,6 +55,7 @@ public class LogsActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
if (item.getItemId() == R.id.action_delete_logs) {
|
if (item.getItemId() == R.id.action_delete_logs) {
|
||||||
Log.clear();
|
Log.clear();
|
||||||
|
binding.logContent.setText(null);
|
||||||
}
|
}
|
||||||
if (item.getItemId() == R.id.action_copy_logs) {
|
if (item.getItemId() == R.id.action_copy_logs) {
|
||||||
TextView content = binding.logContent;
|
TextView content = binding.logContent;
|
||||||
|
|||||||
Reference in New Issue
Block a user