mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 10:05:49 +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)));
|
||||
}
|
||||
GBApplication.deviceService().onSendWeather(new ArrayList<>(Collections.singletonList(Weather.getInstance().getWeatherSpec())));
|
||||
|
||||
final ArrayList<WeatherSpec> specs = new ArrayList<>(Weather.getInstance().getWeatherSpecs());
|
||||
GBApplication.deviceService().onSendWeather(specs);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user