Skip to content

Commit e2b75a0

Browse files
Mazhooncome-nc
andauthored
Fix typo in weather default location setting.
Was 'lat' instead of 'lon', thanks for catching! Co-authored-by: Côme Chilliet <[email protected]> Signed-off-by: Tuomas Nurmi <[email protected]>
1 parent 2f8660d commit e2b75a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/weather_status/lib/Service/WeatherStatusService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ private function searchForAddress(string $address): array {
331331
*/
332332
public function getLocation(): array {
333333
$lat = $this->config->getUserValue($this->userId, Application::APP_ID, 'lat', $this->config->getAppValue(Application::APP_ID, 'lat', ''));
334-
$lon = $this->config->getUserValue($this->userId, Application::APP_ID, 'lon', $this->config->getAppValue(Application::APP_ID, 'lat', ''));
334+
$lon = $this->config->getUserValue($this->userId, Application::APP_ID, 'lon', $this->config->getAppValue(Application::APP_ID, 'lon', ''));
335335
$address = $this->config->getUserValue($this->userId, Application::APP_ID, 'address', $this->config->getAppValue(Application::APP_ID, 'address', ''));
336336
$mode = $this->config->getUserValue($this->userId, Application::APP_ID, 'mode', self::MODE_MANUAL_LOCATION);
337337
return [

0 commit comments

Comments
 (0)