Skip to content

Commit

Permalink
fix: KtLint reports fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
JuancaG05 committed Jul 19, 2024
1 parent 8c37d21 commit cbed218
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class ShareActivity : FileActivity(), ShareFragmentListener {
}

override fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean {
return when(keyCode) {
return when (keyCode) {
KeyEvent.KEYCODE_DPAD_DOWN -> {
if (findViewById<View>(R.id.owncloud_app_bar).hasFocus()) {
findViewById<View>(R.id.share_fragment_container).requestFocus()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,7 @@ class FileDisplayActivity : FileActivity(),
}

override fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean {
return when(keyCode) {
return when (keyCode) {
KeyEvent.KEYCODE_DPAD_DOWN -> {
if (findViewById<View>(R.id.owncloud_app_bar).hasFocus()) {
findViewById<View>(R.id.left_fragment_container).requestFocus()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class PreviewImageActivity : FileActivity(),
}

override fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean {
return when(keyCode) {
return when (keyCode) {
KeyEvent.KEYCODE_TAB -> {
showSystemUI(fullScreenAnchorView)
true
Expand Down

0 comments on commit cbed218

Please sign in to comment.