불필요한 시간 필터링

This commit is contained in:
JUNGGWAN KIM 2024-10-08 15:50:06 +09:00
parent 51d6a9b5b5
commit 46e9865005

View File

@ -314,7 +314,7 @@ internal class LauncherHome : Fragment() {
mWeatherAdapter?.let { mWeatherAdapter?.let {
it.update( it.update(
mutableListOf<Hour>().apply { mutableListOf<Hour>().apply {
this.addAll(hours) this.addAll(it.filter(hours))
} }
) )
it.notifyDataSetChanged() it.notifyDataSetChanged()