mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
minor fix for page options helper
This commit is contained in:
@@ -99,12 +99,17 @@ export function buildUIAndRunTest<T extends View>(controlToTest: T, testFunction
|
|||||||
newPage.css = options.pageCss;
|
newPage.css = options.pageCss;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newPage.actionBarHidden = true;
|
||||||
|
newPage.actionBar.flat = false;
|
||||||
|
|
||||||
if (options.actionBar) {
|
if (options.actionBar) {
|
||||||
newPage.actionBar.title = "Test";
|
newPage.actionBarHidden = false;
|
||||||
|
newPage.actionBar.title = "Test ActionBar";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.actionBarFlat) {
|
if (options.actionBarFlat) {
|
||||||
newPage.actionBar.title = "Test";
|
newPage.actionBarHidden = false;
|
||||||
|
newPage.actionBar.title = "Test ActionBar Flat";
|
||||||
newPage.actionBar.flat = true;
|
newPage.actionBar.flat = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user