FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

minor fix for page options helper · NativeScript/NativeScript@c3ee667 · GitHub

Commit c3ee667

Browse files
committed
minor fix for page options helper
1 parent 226ab3c commit c3ee667

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎tests/app/ui/helper.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,17 @@ export function buildUIAndRunTest<T extends View>(controlToTest: T, testFunction
9999
newPage.css = options.pageCss;
100100
}
101101

102+
newPage.actionBarHidden = true;
103+
newPage.actionBar.flat = false;
104+
102105
if (options.actionBar) {
103-
newPage.actionBar.title = "Test";
106+
newPage.actionBarHidden = false;
107+
newPage.actionBar.title = "Test ActionBar";
104108
}
105109

106110
if (options.actionBarFlat) {
107-
newPage.actionBar.title = "Test";
111+
newPage.actionBarHidden = false;
112+
newPage.actionBar.title = "Test ActionBar Flat";
108113
newPage.actionBar.flat = true;
109114
}
110115

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL