|
@@ -319,6 +319,9 @@ function navigatorSetButtons(navigator, navigatorEventID, _params) {
|
319
|
319
|
button.icon = icon.uri;
|
320
|
320
|
}
|
321
|
321
|
}
|
|
322
|
+ if (button.buttonColor) {
|
|
323
|
+ button.color = processColor(button.buttonColor);
|
|
324
|
+ }
|
322
|
325
|
});
|
323
|
326
|
}
|
324
|
327
|
let leftButton = getLeftButton(params);
|
|
@@ -329,6 +332,9 @@ function navigatorSetButtons(navigator, navigatorEventID, _params) {
|
329
|
332
|
leftButton.icon = icon.uri;
|
330
|
333
|
}
|
331
|
334
|
}
|
|
335
|
+ if (leftButton.buttonColor) {
|
|
336
|
+ leftButton.color = processColor(leftButton.buttonColor);
|
|
337
|
+ }
|
332
|
338
|
} else if (shouldRemoveLeftButton(params)) {
|
333
|
339
|
leftButton = {};
|
334
|
340
|
}
|
|
@@ -514,6 +520,9 @@ function addNavigatorButtons(screen, sideMenuParams) {
|
514
|
520
|
button.icon = icon.uri;
|
515
|
521
|
}
|
516
|
522
|
}
|
|
523
|
+ if (button.buttonColor) {
|
|
524
|
+ button.color = processColor(button.buttonColor);
|
|
525
|
+ }
|
517
|
526
|
});
|
518
|
527
|
}
|
519
|
528
|
|
|
@@ -525,6 +534,9 @@ function addNavigatorButtons(screen, sideMenuParams) {
|
525
|
534
|
leftButton.icon = icon.uri;
|
526
|
535
|
}
|
527
|
536
|
}
|
|
537
|
+ if (leftButton.buttonColor) {
|
|
538
|
+ leftButton.color = processColor(leftButton.buttonColor);
|
|
539
|
+ }
|
528
|
540
|
}
|
529
|
541
|
|
530
|
542
|
const fab = getFab(screen);
|