Skip to content

Commit 6af7dfb

Browse files
committed
test: demo update
1 parent ada3d17 commit 6af7dfb

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

22
ext {
3-
androidxVersion = "1.0.2"
4-
androidXAppCompat = "1.0.2"
5-
androidXMaterial = "1.3.0"
3+
64
}

demo-vue/app/examples/BottomNavigation.vue

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<NavigationButton text="Back" android.systemIcon="ic_menu_back" @tap="onNavigationButtonTap" />
55
</ActionBar>
66

7-
<MDBottomNavigation selectedIndex="1" unloadOnTabChange="true">
7+
<MDBottomNavigation selectedIndex="1">
88
<!-- The bottom tab UI is created via MDTabStrip (the containier) and MDTabStripItem (for each tab)-->
99
<MDTabStrip>
1010
<MDTabStripItem>
@@ -23,9 +23,13 @@
2323

2424
<!-- The number of MDTabContentItem components should corespond to the number of MDTabStripItem components -->
2525
<MDTabContentItem>
26-
<GridLayout backgroundColor="red" @loaded="onLoaded('red')" @tap="navigateToTabsSample">
26+
<Frame>
27+
<Page>
28+
<GridLayout backgroundColor="red" @loaded="onLoaded('red')" @tap="navigateToTabsSample">
2729
<Label text="Home Page" class="h2 text-center"></Label>
2830
</GridLayout>
31+
</Page>
32+
</Frame>
2933
</MDTabContentItem>
3034
<MDTabContentItem>
3135
<GridLayout backgroundColor="green" @loaded="onLoaded('green')">

demo-vue/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dependencies": {
77
"@mdi/font": "5.9.55",
88
"@nativescript-community/css-theme": "^1.2.7",
9-
"@nativescript-community/text": "1.4.22",
9+
"@nativescript-community/text": "1.4.32",
1010
"@nativescript-community/ui-material-activityindicator": "file:../packages/activityindicator",
1111
"@nativescript-community/ui-material-bottom-navigation": "file:../packages/bottom-navigation",
1212
"@nativescript-community/ui-material-bottomnavigationbar": "file:../packages/bottomnavigationbar",

0 commit comments

Comments
 (0)