Skip to content

Commit 393bc79

Browse files
author
farfromrefug
committed
chore: build fix
1 parent 989cda4 commit 393bc79

File tree

7 files changed

+15
-754
lines changed

7 files changed

+15
-754
lines changed

src/image-colorfilter/index.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Image } from '@nativescript/core';
33
import { applyMixins, colorMatrixProperty, cssProperty } from './index-common';
44

55
class ImgExtended {
6-
nativeImageViewProtected: com.nativescript.image.DraweeView;
7-
nativeViewProtected: com.nativescript.image.DraweeView;
6+
nativeImageViewProtected: com.nativescript.image.MatrixImageView;
7+
nativeViewProtected: com.nativescript.image.MatrixImageView;
88
@cssProperty colorMatrix: number[];
99
[colorMatrixProperty.setNative](value: number[]) {
1010
const nativeView = this.nativeImageViewProtected || this.nativeViewProtected;

src/image/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export * from './index-common.ts';
66
* When called, initializes the android Image library. Calling this method is required.
77
* A good place to call it is at the application onLaunch() method.
88
*/
9-
export function initialize(config?: ImagePipelineConfigSetting): void;
9+
export function initialize(config?: ImagePipelineConfigSetting): void;
1010

1111
/**
1212
* Shuts the native Image and SimpleDraweeView down. By design this method should not be called manually as it is handled by the Image library internally.
@@ -388,4 +388,4 @@ export const ImageViewTraceCategory;
388388

389389
export type GetContextFromOptionsCallback = (context: NSDictionary<string, any>, transformers: any[], options: Partial<Img>) => void;
390390

391-
declare function registerPluginGetContextFromOptions(callback: GetContextFromOptionsCallback); // iOS only for plugins
391+
export function registerPluginGetContextFromOptions(callback: GetContextFromOptionsCallback); // iOS only for plugins

src/image/references.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/// <reference path="./typings/android.d.ts" />
22
/// <reference path="./typings/ios.d.ts" />
3-
/// <reference path="./typings/objc!SDWebImagePhotosPlugin.d.ts" />
43
/// <reference path="../../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!CoreImage.d.ts" />

src/image/typings/android.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/// <reference path="./glide.android.d.ts" />
2+
/// <reference path="./glide.okhttp.android.d.ts" />
3+
/// <reference path="./glide.transform.android.d.ts" />
4+
/// <reference path="./ui_image.android.d.ts" />

src/zoomimage/typings/TouchImageView-3.6.android.d.ts

Lines changed: 0 additions & 234 deletions
This file was deleted.

0 commit comments

Comments
 (0)