feat: better error feedback in weather, run prettier + lint

This commit is contained in:
David Ralph
2024-02-07 12:39:16 +00:00
parent fba4012875
commit 21184c6c03
18 changed files with 55 additions and 34 deletions

View File

@@ -61,6 +61,10 @@ export default class TimeSettings extends PureComponent {
const LocationSetting = () => {
const getAuto = () => {
this.setState({
location: variables.getMessage('modals.main.loading'),
});
navigator.geolocation.getCurrentPosition(
async (position) => {
const data = await (