Skip to content

Commit

Permalink
Merge pull request #134 from NiftyTreeStudios/center-map
Browse files Browse the repository at this point in the history
Center location on user location.
  • Loading branch information
Iikeli authored Nov 30, 2022
2 parents 85b31c8 + 7fd4016 commit 7663d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Bean Juice.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.7.1;
MARKETING_VERSION = 3.7.2;
PRODUCT_BUNDLE_IDENTIFIER = com.niftytreestudios.beanjuice;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
Expand Down Expand Up @@ -749,7 +749,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.7.1;
MARKETING_VERSION = 3.7.2;
PRODUCT_BUNDLE_IDENTIFIER = com.niftytreestudios.beanjuice;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
Expand Down
2 changes: 1 addition & 1 deletion Bean Juice/Views/Views/Map/MapViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class MapViewModel: NSObject, ObservableObject {
case .denied:
alertItem = AlertContext.locationDenied
case .authorizedAlways, .authorizedWhenInUse:
break
region = MKCoordinateRegion(center: deviceLocationManager.location!.coordinate, latitudinalMeters: 2000, longitudinalMeters: 2000)
@unknown default:
break
}
Expand Down

0 comments on commit 7663d4f

Please # to comment.