Loading app/src/main/java/foundation/e/blisslauncher/core/Preferences.java +2 −2 Original line number Diff line number Diff line Loading @@ -242,8 +242,8 @@ public class Preferences { editor.apply(); } public static String getCachedCity(Context context) { return getPrefs(context).getString(Constants.CACHED_CITY, "Unknown"); public static String getCachedCity(Context context, String fallbackCity) { return getPrefs(context).getString(Constants.CACHED_CITY, fallbackCity); } public static long lastWeatherUpdateTimestamp(Context context) { Loading app/src/main/java/foundation/e/blisslauncher/features/weather/ForecastBuilder.java +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ public class ForecastBuilder { // City TextView textCity = weatherPanel.findViewById(R.id.weather_city); textCity.setText(Preferences.getCachedCity(context)); textCity.setText(Preferences.getCachedCity(context, w.getCity())); // Weather Condition TextView weatherCondition = weatherPanel.findViewById(R.id.weather_condition); Loading Loading
app/src/main/java/foundation/e/blisslauncher/core/Preferences.java +2 −2 Original line number Diff line number Diff line Loading @@ -242,8 +242,8 @@ public class Preferences { editor.apply(); } public static String getCachedCity(Context context) { return getPrefs(context).getString(Constants.CACHED_CITY, "Unknown"); public static String getCachedCity(Context context, String fallbackCity) { return getPrefs(context).getString(Constants.CACHED_CITY, fallbackCity); } public static long lastWeatherUpdateTimestamp(Context context) { Loading
app/src/main/java/foundation/e/blisslauncher/features/weather/ForecastBuilder.java +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ public class ForecastBuilder { // City TextView textCity = weatherPanel.findViewById(R.id.weather_city); textCity.setText(Preferences.getCachedCity(context)); textCity.setText(Preferences.getCachedCity(context, w.getCity())); // Weather Condition TextView weatherCondition = weatherPanel.findViewById(R.id.weather_condition); Loading