Skip to content

Commit d072f80

Browse files
Rewrite comments
1 parent d0d732b commit d072f80

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/main/java/com/infomaniak/mail/ui/main/folder/ThreadListAdapter.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ class ThreadListAdapter @Inject constructor(
418418
expeditorAvatar.apply {
419419
loadAvatar(recipient, bimi)
420420

421-
// Set isFocusable here instead of in XML file because set XML don't trigger the overridden setFocusable(boolean)
422-
// in avatar view.
421+
// Set `isFocusable` here instead of in XML file because setting it in the
422+
// XML doesn't trigger the overridden `setFocusable(boolean)` in AvatarView.
423423
isFocusable = false
424424
}
425425
}

app/src/main/java/com/infomaniak/mail/ui/newMessage/NewMessageFragment.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@ class NewMessageFragment : Fragment() {
505505
icon = AppCompatResources.getDrawable(context, R.drawable.ic_chevron_down)
506506
setOnClickListener { _ -> addressListPopupWindow?.show() }
507507

508-
// Set isFocusable here instead of in XML file because set XML don't trigger the overridden setFocusable(boolean)
509-
// in avatar view.
508+
// Set `isFocusable` here instead of in XML file because setting it in the
509+
// XML doesn't trigger the overridden `setFocusable(boolean)` in AvatarView.
510510
isFocusable = true
511511
}
512512
}

0 commit comments

Comments
 (0)