rename directory cab_edit to cab_rename

This commit is contained in:
tibbi 2016-12-06 22:40:09 +01:00
parent 1ed45dcc3d
commit 4abc2d4b59
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ class DirectoryAdapter(val activity: SimpleActivity, val dirs: MutableList<Direc
showProperties()
true
}
R.id.cab_edit -> {
R.id.cab_rename -> {
editDir()
true
}
@ -109,7 +109,7 @@ class DirectoryAdapter(val activity: SimpleActivity, val dirs: MutableList<Direc
override fun onPrepareActionMode(actionMode: ActionMode?, menu: Menu): Boolean {
val positions = multiSelector.selectedPositions
val menuItem = menu.findItem(R.id.cab_edit)
val menuItem = menu.findItem(R.id.cab_rename)
menuItem.isVisible = positions.size <= 1
checkHideBtnVisibility(menu, positions)

View File

@ -17,7 +17,7 @@
android:title="@string/unpin_folder"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/cab_edit"
android:id="@+id/cab_rename"
android:icon="@mipmap/rename"
android:title="@string/rename"
app:showAsAction="ifRoom"/>