File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/src/main/java/org/woheller69/weather/activities Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ private void editCityToWatch(CityToWatch city) {
200200 editLatitude .setFilters (new InputFilter []{ new InputFilterMinMax (-90 , 90 )});
201201 editLongitude .setText (Float .toString (city .getLongitude ()));
202202 editLongitude .setFilters (new InputFilter []{ new InputFilterMinMax (-180 , 180 )});
203- editCompass .setDegrees (city .getLongitude ());
203+ editCompass .setDegrees (city .getAzimuthAngle ());
204204 editCompass .setOnCompassDragListener (degrees -> { editAzimuth .setText (Float .toString (Math .round (degrees ))); });
205205 editAzimuth .setText (Float .toString (city .getAzimuthAngle ()));
206206 editAzimuth .setFilters (new InputFilter []{ new InputFilterMinMax (0 , 360 )});
You can’t perform that action at this time.
0 commit comments