From a1738f68215e8e80bd7be4f9ac1fa5986902c5ba Mon Sep 17 00:00:00 2001 From: DrDisagree Date: Mon, 21 Oct 2024 19:17:27 +0600 Subject: [PATCH] Make weather settings always visible Signed-off-by: DrDisagree --- .../com/drdisagree/iconify/ui/activities/WeatherActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/drdisagree/iconify/ui/activities/WeatherActivity.kt b/app/src/main/java/com/drdisagree/iconify/ui/activities/WeatherActivity.kt index 4af9e32dc..158bf57a3 100644 --- a/app/src/main/java/com/drdisagree/iconify/ui/activities/WeatherActivity.kt +++ b/app/src/main/java/com/drdisagree/iconify/ui/activities/WeatherActivity.kt @@ -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) @@ -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