mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-07 05:45:49 +01:00
make ItemsAdapter at ItemsFragment nullable
This commit is contained in:
parent
e68052bbbf
commit
29a746d15e
@ -67,7 +67,7 @@ class ItemsFragment : Fragment(), ItemsAdapter.ItemOperationsListener, Breadcrum
|
||||
val newColor = context!!.config.textColor
|
||||
if (storedTextColor != newColor) {
|
||||
storedItems = ArrayList()
|
||||
(items_list.adapter as ItemsAdapter).updateTextColor(newColor)
|
||||
(items_list.adapter as? ItemsAdapter)?.updateTextColor(newColor)
|
||||
mView.breadcrumbs.updateColor(newColor)
|
||||
storedTextColor = newColor
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user