Skip to content
This repository was archived by the owner on Oct 22, 2018. It is now read-only.

Commit 2194de9

Browse files
committed
Fix gitignore and update About component
1 parent b9d2285 commit 2194de9

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ yarn.lock
3737
!symlink.js
3838
!karma.conf.js
3939
!protractor.conf.js
40-
!nativescript/gulpfile.js
41-
!nativescript/webpack.config.js
4240

4341
# e2e
4442
/e2e/*.js

nativescript/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ app/**/*
88
!app/vendor-platform.ios.ts
99
!app/vendor.ts
1010

11+
!gulpfile.js
12+
!webpack.config.js
13+
1114
src/app
1215
src/assets
1316
src/node_modules

src/app/about/about.common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { AboutComponent } from './components/about/about.component';
88

99
export const SHARED_MODULES: any[] = [
1010
SharedModule,
11-
RouterModule,
1211
RouterModule.forChild(AboutRoutes),
1312
TranslateModule.forChild()
1413
];

src/app/about/components/about/about.component.tns.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Page>
2-
<ActionBar title="About">
3-
<NavigationButton visibility="collapsed"/>
4-
<ActionItem ios.position="left" [nsRouterLink]="['/home']" clearHistory="true">
5-
<NavigationButton class="ion-icon" text="{{ '\uF30C' }}"></NavigationButton>
2+
<ActionBarExtension>
3+
<NavigationButton visibility="collapsed"></NavigationButton>
4+
<ActionItem ios.position="left">
5+
<Button class="ion-icon" text="{{ '\uF30C' }}" [nsRouterLink]="['/home']" clearHistory="true"></Button>
66
</ActionItem>
7-
</ActionBar>
7+
</ActionBarExtension>
88
<GridLayout rows="auto, *">
99
<Label class="h1 title" text="About me!"></Label>
1010
</GridLayout>

0 commit comments

Comments
 (0)