@@ -223,7 +223,7 @@ class NearbyParentFragment : CommonsDaggerSupportFragment(),
223
223
private var view: View ? = null
224
224
private var scope: LifecycleCoroutineScope ? = null
225
225
private var presenter: NearbyParentFragmentPresenter ? = null
226
- private var isDarkTheme = false
226
+ private var _isDarkTheme = false
227
227
private var isFABsExpanded = false
228
228
private var selectedPlace: Place ? = null
229
229
private var clickedMarker: Marker ? = null
@@ -461,7 +461,7 @@ class NearbyParentFragment : CommonsDaggerSupportFragment(),
461
461
}
462
462
}
463
463
}
464
- isDarkTheme = systemThemeUtils?.isDeviceInNightMode() == true
464
+ _isDarkTheme = systemThemeUtils?.isDeviceInNightMode() == true
465
465
if (Utils .isMonumentsEnabled(Date ())) {
466
466
binding?.rlContainerWlmMonthMessage?.visibility = View .VISIBLE
467
467
} else {
@@ -631,7 +631,7 @@ class NearbyParentFragment : CommonsDaggerSupportFragment(),
631
631
* another refactor
632
632
*/
633
633
private fun initThemePreferences () {
634
- if (isDarkTheme ) {
634
+ if (_isDarkTheme ) {
635
635
binding!! .bottomSheetNearby.rvNearbyList.setBackgroundColor(
636
636
requireContext().resources.getColor(fr.free.nrw.commons.R .color.contributionListDarkBackground)
637
637
)
@@ -915,7 +915,7 @@ class NearbyParentFragment : CommonsDaggerSupportFragment(),
915
915
}
916
916
917
917
override fun isDarkTheme (): Boolean {
918
- return isDarkTheme
918
+ return _isDarkTheme
919
919
}
920
920
})
921
921
binding!! .nearbyFilterList.root
0 commit comments