mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
FolderPickerActivity: call super.onCreateOptionsMenu inside overriding method
Fixes a bug where ExtendedListFragment.onCreateOptionsMenu is not called for the child fragment Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
0e0bfbbd12
commit
ffd49266ec
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ open class FolderPickerActivity :
|
|||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
val inflater = menuInflater
|
||||
inflater.inflate(R.menu.activity_folder_picker, menu)
|
||||
return true
|
||||
return super.onCreateOptionsMenu(menu)
|
||||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
|
|
Loading…
Reference in a new issue