feat(app): add vworld geocoding and native ads placeholders
This commit is contained in:
@@ -122,7 +122,7 @@ class RecommendationNotifier extends StateNotifier<AsyncValue<Restaurant?>> {
|
||||
final config = RecommendationConfig(
|
||||
userLatitude: location.latitude,
|
||||
userLongitude: location.longitude,
|
||||
maxDistance: maxDistance,
|
||||
maxDistance: maxDistance / 1000, // 미터 입력을 km 단위로 변환
|
||||
selectedCategories: selectedCategories,
|
||||
userSettings: userSettings,
|
||||
weather: weather,
|
||||
@@ -307,7 +307,7 @@ class EnhancedRecommendationNotifier
|
||||
final config = RecommendationConfig(
|
||||
userLatitude: location.latitude,
|
||||
userLongitude: location.longitude,
|
||||
maxDistance: maxDistanceNormal.toDouble(),
|
||||
maxDistance: maxDistanceNormal.toDouble() / 1000, // 미터 입력을 km 단위로 변환
|
||||
selectedCategories: categories,
|
||||
userSettings: userSettings,
|
||||
weather: weather,
|
||||
|
||||
@@ -102,8 +102,8 @@ class VisitNotifier extends StateNotifier<AsyncValue<void>> {
|
||||
required DateTime recommendationTime,
|
||||
bool isConfirmed = false,
|
||||
}) async {
|
||||
// 추천 시간으로부터 1.5시간 후를 방문 시간으로 설정
|
||||
final visitTime = recommendationTime.add(const Duration(minutes: 90));
|
||||
// 추천 확인 시점으로 방문 시간을 기록
|
||||
final visitTime = DateTime.now();
|
||||
|
||||
await addVisitRecord(
|
||||
restaurantId: restaurantId,
|
||||
|
||||
Reference in New Issue
Block a user