Add the heat index as well as some error handling.

This commit is contained in:
2025-04-26 08:37:35 -07:00
parent 7ffcfee1d3
commit 6e2d293cdc
3 changed files with 76 additions and 22 deletions

View File

@ -97,6 +97,10 @@ class _MainAppState extends State<MainApp> {
weather = "Please enter a location.";
}
if (weather.toString().contains("Sorry!")) {
return weather;
}
if (weather != loadText) {
if (debug) {
debugPrint("DEBUG: Formatting text.");