Skip to content

Commit 9e05881

Browse files
fix: examples according to safe area and tests
1 parent 4bee8a7 commit 9e05881

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

app/list-view/list-view-item-template.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export class CustomTemplateComponent {
1616
selector: "list-test",
1717
template: `
1818
<GridLayout rows="*" automationText="mainView">
19-
<ListView [items]="myItems">
19+
<ListView [items]="myItems"
20+
iosOverflowSafeArea="false" >
2021
<ng-template let-item="item">
2122
<custom-template [data]="item"></custom-template>
2223
</ng-template>

app/list-view/list-view-page.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import { DataItem } from "./data-item";
77
styleUrls: ["./list-view-page.css"],
88
template: `
99
<StackLayout automationText="mainView">
10-
<ListView [items]="myItems" (itemTap)="onItemTap($event)">
10+
<ListView [items]="myItems" (itemTap)="onItemTap($event)"
11+
iosOverflowSafeArea="false" >
1112
<ng-template let-item="item" let-i="index" let-odd="odd" let-even="even">
1213
<StackLayout [class.odd]="odd" [class.even]="even">
1314
<Label [text]='"index: " + i'></Label>

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@
99
"version": "next"
1010
},
1111
"tns-android": {
12-
"version": "4.2.0-2018-06-18-02"
12+
"version": "next"
1313
}
1414
},
1515
"dependencies": {
16-
"@angular/common": "~6.0.0",
17-
"@angular/compiler": "~6.0.0",
18-
"@angular/core": "~6.0.0",
19-
"@angular/forms": "~6.0.0",
20-
"@angular/http": "~6.0.0",
21-
"@angular/platform-browser": "~6.0.0",
22-
"@angular/platform-browser-dynamic": "~6.0.0",
23-
"@angular/router": "~6.0.0",
16+
"@angular/common": "~6.1.0",
17+
"@angular/compiler": "~6.1.0",
18+
"@angular/core": "~6.1.0",
19+
"@angular/forms": "~6.1.0",
20+
"@angular/http": "~6.1.0",
21+
"@angular/platform-browser": "~6.1.0",
22+
"@angular/platform-browser-dynamic": "~6.1.0",
23+
"@angular/router": "~6.1.0",
2424
"nativescript-angular": "next",
2525
"nativescript-intl": "~3.0.0",
2626
"nativescript-theme-core": "^1.0.4",
2727
"reflect-metadata": "~0.1.8",
2828
"rxjs": "~6.0.0 || >=6.1.0 || >=6.0.0",
2929
"tns-core-modules": "next",
30-
"zone.js": "^0.8.4"
30+
"zone.js": "^0.8.26"
3131
},
3232
"devDependencies": {
33-
"@angular/compiler-cli": "~6.1.0-beta.1",
33+
"@angular/compiler-cli": "~6.1.0",
3434
"babel-traverse": "6.24.1",
3535
"babel-types": "6.24.1",
3636
"babylon": "6.17.0",
@@ -41,7 +41,7 @@
4141
"nativescript-dev-webpack": "next",
4242
"tslint": "^5.4.3",
4343
"typescript": "~2.7.2",
44-
"@ngtools/webpack": "6.1.0-rc.0"
44+
"@ngtools/webpack": "~6.2.0"
4545
},
4646
"scripts": {
4747
"tslint": "tslint --config tslint.json 'app/**/*.ts'",

tsconfig.tns.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"module": "es2015",
5+
"moduleResolution": "node"
6+
}
7+
}

0 commit comments

Comments
 (0)