mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 14:15:44 +03:00
parameters not nullable anylonger
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
99ea1269b6
commit
e2bc773c01
1 changed files with 4 additions and 4 deletions
|
@ -49,13 +49,13 @@ class EtmPreferencesFragment : EtmBaseFragment() {
|
|||
etm_preferences_text.text = builder
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu?, inflater: MenuInflater?) {
|
||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||
super.onCreateOptionsMenu(menu, inflater)
|
||||
inflater?.inflate(R.menu.etm_preferences, menu)
|
||||
inflater.inflate(R.menu.etm_preferences, menu)
|
||||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem?): Boolean {
|
||||
return when (item?.itemId) {
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
return when (item.itemId) {
|
||||
R.id.etm_preferences_share -> {
|
||||
onClickedShare(); true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue