mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires.
This commit is contained in:
@@ -60,7 +60,7 @@ export class LocationManager implements locationModule.LocationManager {
|
||||
}
|
||||
|
||||
private static locationFromAndroidLocation(androidLocation: android.location.Location): locationModule.Location {
|
||||
var location = new locationModule.Location();
|
||||
var location = new common.Location();
|
||||
location.latitude = androidLocation.getLatitude();
|
||||
location.longitude = androidLocation.getLongitude();
|
||||
location.altitude = androidLocation.getAltitude();
|
||||
|
||||
Reference in New Issue
Block a user