Commit 6d536a90 authored by Mygod's avatar Mygod

Fix ETXTBSY when opening custom rules

parent 57be4055
...@@ -232,7 +232,6 @@ class CustomRulesFragment extends ToolbarFragment with Toolbar.OnMenuItemClickLi ...@@ -232,7 +232,6 @@ class CustomRulesFragment extends ToolbarFragment with Toolbar.OnMenuItemClickLi
toolbar.inflateMenu(R.menu.custom_rules_menu) toolbar.inflateMenu(R.menu.custom_rules_menu)
toolbar.setOnMenuItemClickListener(this) toolbar.setOnMenuItemClickListener(this)
selectionItem = toolbar.getMenu.findItem(R.id.selection) selectionItem = toolbar.getMenu.findItem(R.id.selection)
app.updateAssets()
list = view.findViewById(R.id.list).asInstanceOf[RecyclerView] list = view.findViewById(R.id.list).asInstanceOf[RecyclerView]
list.setLayoutManager(new LinearLayoutManager(getActivity, LinearLayoutManager.VERTICAL, false)) list.setLayoutManager(new LinearLayoutManager(getActivity, LinearLayoutManager.VERTICAL, false))
list.setItemAnimator(new DefaultItemAnimator) list.setItemAnimator(new DefaultItemAnimator)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment