Skip to content

Commit

Permalink
2.300
Browse files Browse the repository at this point in the history
  • Loading branch information
WangDaYeeeeee committed Jun 7, 2019
1 parent c6438b0 commit 1878ce9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added app/release/GeometricWeather 2.300.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,19 @@ private static Bitmap drawableToBitmap(@NonNull Drawable drawable) {

@RequiresApi(api = Build.VERSION_CODES.O)
@NonNull
private static Icon getAdaptiveIcon(ResourceProvider helper, String weatherKind, boolean daytime) {
private static Icon getAdaptiveIcon(ResourceProvider provider, String weatherKind, boolean daytime) {
return Icon.createWithAdaptiveBitmap(
drawableToBitmap(
WeatherHelper.getShortcutsForegroundIcon(helper, weatherKind, daytime)
WeatherHelper.getShortcutsForegroundIcon(provider, weatherKind, daytime)
)
);
}

@NonNull
private static Icon getIcon(ResourceProvider helper, String weatherKind, boolean daytime) {
private static Icon getIcon(ResourceProvider provider, String weatherKind, boolean daytime) {
return Icon.createWithBitmap(
drawableToBitmap(
WeatherHelper.getShortcutsIcon(helper, weatherKind, daytime)
WeatherHelper.getShortcutsIcon(provider, weatherKind, daytime)
)
);
}
Expand Down

0 comments on commit 1878ce9

Please sign in to comment.