1차 보완(0.1.1+14) 내용 합치기
This commit is contained in:
@@ -7,6 +7,7 @@ import '../../core/data/server_clock.dart';
|
||||
import '../../core/theme/tokens.dart';
|
||||
import '../home/home_screen.dart' show formatPop;
|
||||
import 'place_picker_screen.dart';
|
||||
import 'location_consent.dart';
|
||||
import 'quest_data.dart';
|
||||
import 'widgets/quest_card_tile.dart';
|
||||
import '../../core/i18n/app_locale.dart';
|
||||
@@ -441,9 +442,13 @@ class _QuestCreateScreenState extends State<QuestCreateScreen> {
|
||||
final _extraVerify = <String>{};
|
||||
|
||||
Future<void> _pickPlace() async {
|
||||
// 지도의 현재 위치는 위치기능이다 — 위치기반 약관에 먼저 동의받는다(Q-E1 · R02). 거부해도 지도에서
|
||||
// 직접 고를 수 있다.
|
||||
final located = await ensureLocationConsent(context, widget.repository.locationConsent);
|
||||
if (!mounted) return;
|
||||
final picked = await Navigator.of(context, rootNavigator: true).push<QuestPlace>(
|
||||
// 명세 `523:18207` — 선택 완료 시 *하단 move out 페이지 종료 후 이전 화면 이동*.
|
||||
SheetRoute(builder: (_) => const PlacePickerScreen()),
|
||||
SheetRoute(builder: (_) => PlacePickerScreen(useDeviceLocation: located)),
|
||||
);
|
||||
if (picked == null || !mounted) return;
|
||||
setState(() => _place = picked);
|
||||
|
||||
Reference in New Issue
Block a user