Skip to content

Commit 7776f51

Browse files
committed
fix(location): button
1 parent b656f2b commit 7776f51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/app/settings/location/page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ class _SettingsLocationPageState extends State<SettingsLocationPage> with Widget
420420
ListSectionTile(
421421
title: '新增地點'.i18n,
422422
icon: Symbols.add_circle_rounded,
423-
enabled: loadingCode == null,
423+
enabled: !model.auto && loadingCode == null,
424424
onTap: () => context.push(SettingsLocationSelectPage.route),
425425
),
426426
],

0 commit comments

Comments
 (0)