Skip to content

Commit

Permalink
update V2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
woheller69 committed Nov 17, 2023
1 parent 44d6438 commit 92efd04
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "org.woheller69.omweather"
minSdkVersion 21
targetSdkVersion 33
versionCode 21
versionName "2.1"
versionCode 22
versionName "2.2"

buildConfigField "String", "BASE_URL", "\"https://api.open-meteo.com/v1/\""
buildConfigField "String", "GITHUB_URL","\"https://github.com/woheller69/omweather/\""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void onBindViewHolder(WeekForecastViewHolder holder, int position) {
holder.wind_speed.setText(StringFormatUtils.formatWindSpeed(context, weekForecast.getWind_speed()));
holder.wind_speed.setBackground(StringFormatUtils.colorWindSpeed(context, weekForecast.getWind_speed()));

holder.sunshine_hours.setText("\ud83d\udd06\u200a"+Math.round(weekForecast.getSunshineHours())+"\u200a"+context.getString(R.string.units_hours));
holder.sunshine_hours.setText("\u2600\ufe0e\u200a"+Math.round(weekForecast.getSunshineHours())+"\u200a"+context.getString(R.string.units_hours));

Calendar c = Calendar.getInstance();
c.setTimeZone(TimeZone.getTimeZone("GMT"));
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/list_item_week_forecast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:text="\ud83d\udd06\u200a2\u200ah"
android:text="\u2600\ufe0e\u200a2\u200ah"
android:textColor="@color/colorPrimaryDark"
android:textAppearance="?android:attr/textAppearanceMedium" />

Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/22.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Add hours of sunshine
Layout improvements
Bugfixes

0 comments on commit 92efd04

Please sign in to comment.