File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/src/main/java/com/infomaniak/mail/ui/main/thread Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -199,17 +199,17 @@ class ThreadFragment : Fragment() {
199199 private fun updateStatusBarColor () {
200200
201201 val statusBarColor = when {
202- twoPaneViewModel.isInThreadInPhoneMode(requireContext()) -> {
202+ twoPaneViewModel.isInThreadInPhoneMode(requireContext()) -> { // Phone mode in Thread
203203 if (binding.messagesListNestedScrollView.isAtTheTop()) {
204204 R .color.toolbarLoweredColor
205205 } else {
206206 R .color.toolbarElevatedColor
207207 }
208208 }
209- twoPaneFragment is ThreadListFragment -> {
209+ twoPaneFragment is ThreadListFragment -> { // Tablet mode in ThreadList
210210 R .color.backgroundHeaderColor
211211 }
212- else -> {
212+ else -> { // Tablet mode in Search
213213 R .color.backgroundColor
214214 }
215215 }
You can’t perform that action at this time.
0 commit comments