Skip to content

Commit

Permalink
HomeFragment.showWeather 异常
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenhhe authored and archurcode committed May 19, 2021
1 parent 449dc27 commit b2e827c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ class HomeFragment : BaseFragment(), HomeFragmentView, MyCallback, PayloadMessag

private fun showWeather(show: Boolean) {
if (show) {
layout_space.visibility = View.VISIBLE
layout_2_set_location.visibility = View.GONE
weather_iv.visibility = View.VISIBLE
layout_space?.visibility = View.VISIBLE
layout_2_set_location?.visibility = View.GONE
weather_iv?.visibility = View.VISIBLE
} else {
layout_space.visibility = View.INVISIBLE
layout_2_set_location.visibility = View.VISIBLE
weather_iv.visibility = View.GONE
layout_space?.visibility = View.INVISIBLE
layout_2_set_location?.visibility = View.VISIBLE
weather_iv?.visibility = View.GONE
}
}

Expand Down

0 comments on commit b2e827c

Please sign in to comment.