Downgrade WeatherView (#359)

This commit is contained in:
vvb2060 2021-03-15 13:14:36 +08:00 committed by GitHub
parent dd7b73dd22
commit 82a8d87eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ dependencies {
implementation("com.github.bumptech.glide:glide:$glideVersion")
implementation("com.github.bumptech.glide:okhttp3-integration:$glideVersion")
implementation("com.github.jinatonic.confetti:confetti:1.1.2")
implementation("com.github.MatteoBattilana:WeatherView:3.0.0")
implementation("com.github.MatteoBattilana:WeatherView:2.0.3")
implementation("com.google.android.material:material:1.3.0")
implementation("com.google.code.gson:gson:2.8.6")
implementation("com.takisoft.preferencex:preferencex:1.1.0")

View File

@ -16,7 +16,7 @@ public class FlowerGenerator implements ConfettoGenerator {
public FlowerGenerator(Context ctx) {
super();
this.context = ctx;
this.confettoInfo = new ConfettoInfo(PrecipType.SNOW, 1.0f, null);
this.confettoInfo = new ConfettoInfo(PrecipType.SNOW);
}
public Confetto generateConfetto(Random random) {

View File

@ -16,7 +16,7 @@ public class SnowGenerator implements ConfettoGenerator {
public SnowGenerator(Context ctx) {
super();
this.context = ctx;
this.confettoInfo = new ConfettoInfo(PrecipType.SNOW, 1.0f, null);
this.confettoInfo = new ConfettoInfo(PrecipType.SNOW);
}
public Confetto generateConfetto(Random random) {