pull/1517/head
gedoor 3 years ago
parent 4fd13433ed
commit dc2db2941b
  1. 5
      app/src/main/java/io/legado/app/ui/about/AppLogDialog.kt

@ -50,7 +50,10 @@ class AppLogDialog : BaseDialogFragment(R.layout.dialog_recycler_view),
override fun onMenuItemClick(item: MenuItem?): Boolean { override fun onMenuItemClick(item: MenuItem?): Boolean {
when (item?.itemId) { when (item?.itemId) {
R.id.menu_clear -> AppLog.clear() R.id.menu_clear -> {
AppLog.clear()
adapter.clearItems()
}
} }
return true return true
} }

Loading…
Cancel
Save