minor fix for page options helper

This commit is contained in:
Martin Yankov
2018-09-18 17:50:14 +03:00
parent 226ab3caa6
commit c3ee667015

View File

@@ -99,12 +99,17 @@ export function buildUIAndRunTest<T extends View>(controlToTest: T, testFunction
newPage.css = options.pageCss;
}
newPage.actionBarHidden = true;
newPage.actionBar.flat = false;
if (options.actionBar) {
newPage.actionBar.title = "Test";
newPage.actionBarHidden = false;
newPage.actionBar.title = "Test ActionBar";
}
if (options.actionBarFlat) {
newPage.actionBar.title = "Test";
newPage.actionBarHidden = false;
newPage.actionBar.title = "Test ActionBar Flat";
newPage.actionBar.flat = true;
}