Currently, the API Key dialog displays an error text even after the user closes and reopens the dialog. This PR addresses the issue by ensuring that the error text is not shown once the dialog is closed.
Proposed Changes
Resolved the issue of error text persisting in the API Key dialog.
Renamed the validate variable to isApiKeyEmpty for improved clarity.
Added missing required trailing commas in the SettingsController and weather_api.dart.
Formatted the SettingsController and weather_api.dart files for consistency.
Description
Currently, the API Key dialog displays an error text even after the user closes and reopens the dialog. This PR addresses the issue by ensuring that the error text is not shown once the dialog is closed.
Proposed Changes
validate
variable toisApiKeyEmpty
for improved clarity.SettingsController
andweather_api.dart
.SettingsController
andweather_api.dart
files for consistency.Fixes #375
Screenshots
https://github.com/CCExtractor/ultimate_alarm_clock/assets/92971894/39df6ca7-6990-4067-97bc-3ca2c3cfa0d7
Checklist