Skip to content

Commit

Permalink
Make weather settings always visible
Browse files Browse the repository at this point in the history
Signed-off-by: DrDisagree <[email protected]>
  • Loading branch information
Mahmud0808 committed Oct 21, 2024
1 parent 3b22c1b commit a1738f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class WeatherActivity : AppCompatActivity(), OmniJawsClient.OmniJawsObserver {
})

binding.settings.setOnClickListener { startActivity(mWeatherClient.getSettingsIntent()) }
binding.settings.visibility = View.GONE
binding.refresh.setOnClickListener { forceRefresh() }

binding.hourlyForecastRecycler.setAdapter(mForecastHourAdapter)
Expand Down Expand Up @@ -89,7 +88,8 @@ class WeatherActivity : AppCompatActivity(), OmniJawsClient.OmniJawsObserver {
)

// Wind and Humidity
binding.currentWind.text = mWeatherClient.weatherInfo!!.windSpeed + " " + mWeatherClient.weatherInfo!!.windUnits
binding.currentWind.text =
mWeatherClient.weatherInfo!!.windSpeed + " " + mWeatherClient.weatherInfo!!.windUnits
binding.currentWindDirection.text = mWeatherClient.weatherInfo!!.pinWheel
binding.currentHumidity.text = mWeatherClient.weatherInfo!!.humidity

Expand Down

0 comments on commit a1738f6

Please sign in to comment.