Skip to content

Commit b796228

Browse files
committed
fix(ios): crash in other plugins
1 parent 7b41be6 commit b796228

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/ui-canvas/index.android.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ export {
3434
PorterDuffXfermode
3535
};
3636

37-
38-
export function parseDashEffect(value: string) {
39-
const array = value.split(' ').map(parseFloat);
40-
const length = array.length;
41-
const phase = array[length - 1];
42-
const result = new DashPathEffect(array, phase);
43-
return result;
44-
}
45-
4637
function createColorParam(param) {
4738
if (param instanceof Array) {
4839
return param.map(createColorParam);

src/ui-canvas/index.common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { ChangedData, GridLayout, Observable, ObservableArray, Property, Screen,
22
import { Canvas, Rect, RectF } from '.';
33
import Shape from './shapes/shape';
44

5+
export * from './utils';
56
// declare module '@nativescript/core/ui/core/view' {
67
// interface ViewCommon {
78
// _raiseLayoutChangedEvent();

0 commit comments

Comments
 (0)