Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8401709

Browse files
MartoYankovSvetoslavTsenov
authored andcommitted
chore: fix animations e2e app layout import (NativeScript#6415)
1 parent d24012b commit 8401709

File tree

1 file changed

+3
-3
lines changed
  • e2e/animation/app/slide-in-effect

1 file changed

+3
-3
lines changed

e2e/animation/app/slide-in-effect/page.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { EventData, Page } from "tns-core-modules/ui/page";
22
import { View } from "tns-core-modules/ui/core/view";
3-
import { Layout } from "tns-core-modules/ui/layouts/layout";
3+
import { WrapLayout } from "tns-core-modules/ui/layouts/wrap-layout";
44
import { Image } from "tns-core-modules/ui/image";
55

6-
let wrapLayout: Layout;
6+
let wrapLayout: WrapLayout;
77

88
export function pageLoaded(args: EventData) {
99
const page = <Page>args.object;
10-
wrapLayout = page.getViewById<Layout>("wrapLayout");
10+
wrapLayout = page.getViewById<WrapLayout>("wrapLayout");
1111
}
1212

1313
export function onAddItem(args: EventData) {

0 commit comments

Comments
 (0)