Automation: remove not working menu item
This commit is contained in:
parent
a4c1e724bf
commit
3a950bcd7f
|
@ -61,7 +61,6 @@ class AutomationFragment : DaggerFragment(), OnStartDragListener, MenuProvider {
|
|||
|
||||
const val ID_MENU_ADD = 504
|
||||
const val ID_MENU_RUN = 505
|
||||
const val ID_MENU_EDIT_MOVE = 506
|
||||
}
|
||||
|
||||
private var disposable: CompositeDisposable = CompositeDisposable()
|
||||
|
@ -98,7 +97,6 @@ class AutomationFragment : DaggerFragment(), OnStartDragListener, MenuProvider {
|
|||
actionHelper.onCreateOptionsMenu(menu, inflater)
|
||||
menu.add(Menu.FIRST, ID_MENU_ADD, 0, rh.gs(R.string.add_automation)).setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER)
|
||||
menu.add(Menu.FIRST, ID_MENU_RUN, 0, rh.gs(R.string.run_automations)).setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER)
|
||||
menu.add(Menu.FIRST, ID_MENU_EDIT_MOVE, 0, rh.gs(R.string.remove_sort)).setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER)
|
||||
menu.setGroupDividerEnabled(true)
|
||||
}
|
||||
|
||||
|
@ -115,11 +113,6 @@ class AutomationFragment : DaggerFragment(), OnStartDragListener, MenuProvider {
|
|||
true
|
||||
}
|
||||
|
||||
ID_MENU_EDIT_MOVE -> {
|
||||
actionHelper.startAction()
|
||||
true
|
||||
}
|
||||
|
||||
else -> super.onContextItemSelected(item)
|
||||
}
|
||||
|
||||
|
|
|
@ -119,7 +119,6 @@
|
|||
<string name="system_automation">System automation</string>
|
||||
<string name="run_automations">Run automations</string>
|
||||
<string name="add_automation">Add rule</string>
|
||||
<string name="remove_sort">Remove/sort</string>
|
||||
<string name="stop_processing">Stop processing</string>
|
||||
|
||||
<!-- WeekdayPicker -->
|
||||
|
|
Loading…
Reference in a new issue