mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Merge pull request #7083 from NativeScript/myankov/merge
chore: merge release to master
This commit is contained in:
@ -246,8 +246,6 @@ export function fromNativeSource(source: any): ImageSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function fromUrl(url: string): Promise<ImageSourceDefinition> {
|
export function fromUrl(url: string): Promise<ImageSourceDefinition> {
|
||||||
console.log("imageSource.fromUrl(url) is deprecated; use http.getImage(url) instead");
|
|
||||||
|
|
||||||
ensureHttp();
|
ensureHttp();
|
||||||
return http.getImage(url);
|
return http.getImage(url);
|
||||||
}
|
}
|
||||||
|
@ -237,8 +237,6 @@ export function fromNativeSource(source: any): ImageSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function fromUrl(url: string): Promise<ImageSource> {
|
export function fromUrl(url: string): Promise<ImageSource> {
|
||||||
console.log("imageSource.fromUrl(url) is deprecated; use http.getImage(url) instead");
|
|
||||||
|
|
||||||
ensureHttp();
|
ensureHttp();
|
||||||
return http.getImage(url);
|
return http.getImage(url);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user