mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 03:07:32 +01:00
DebugActivity: send list of weather specs when pressing 'set weather'
This commit is contained in:
parent
a5ff360497
commit
260dec5b27
@ -376,7 +376,9 @@ public class DebugActivity extends AbstractGBActivity {
|
|||||||
|
|
||||||
Weather.getInstance().setWeatherSpec(new ArrayList<>(Collections.singletonList(weatherSpec)));
|
Weather.getInstance().setWeatherSpec(new ArrayList<>(Collections.singletonList(weatherSpec)));
|
||||||
}
|
}
|
||||||
GBApplication.deviceService().onSendWeather(new ArrayList<>(Collections.singletonList(Weather.getInstance().getWeatherSpec())));
|
|
||||||
|
final ArrayList<WeatherSpec> specs = new ArrayList<>(Weather.getInstance().getWeatherSpecs());
|
||||||
|
GBApplication.deviceService().onSendWeather(specs);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user