- Minor lint fixes

This commit is contained in:
2024-06-21 14:29:26 +01:00
parent 9c9e49df66
commit 03defa71b5

View File

@@ -39,9 +39,11 @@ class WorldFragment : BaseFragment<WorldViewModel>(R.layout.fragment_add_locatio
} }
} }
@Suppress("UNCHECKED_CAST")
override fun onSuccess(data: Any?) { override fun onSuccess(data: Any?) {
super.onSuccess(data) super.onSuccess(data)
if (data is List<*>) recyclerAdapter.addCurrent(data as List<WeatherDisplay>) if (data is List<*>)
recyclerAdapter.addCurrent(data as List<WeatherDisplay>)
} }
override fun onResume() { override fun onResume() {