|
@@ -80,8 +80,10 @@ export default class PlanexScreen extends React.Component<Props> {
|
80
|
80
|
this.customInjectedJS += '$("head").append(\'<link rel="stylesheet" href="' + CUSTOM_CSS_NIGHTMODE + '" type="text/css"/>\');';
|
81
|
81
|
|
82
|
82
|
this.customInjectedJS +=
|
83
|
|
- '$(".fc-toolbar .fc-center").append(\'<p id="rotateToLandscape">' + i18n.t("planexScreen.rotateToLandscape") + '</p>\');' +
|
84
|
|
- '$(".fc-toolbar .fc-center").append(\'<p id="rotateToPortrait">' + i18n.t("planexScreen.rotateToPortrait") + '</p>\');' +
|
|
83
|
+ '$(".fc-toolbar .fc-center").append(\'<p id="rotateToLandscape" style="color: ' + ThemeManager.getCurrentThemeVariables().brandPrimary + '">' +
|
|
84
|
+ i18n.t("planexScreen.rotateToLandscape") + '</p>\');' +
|
|
85
|
+ '$(".fc-toolbar .fc-center").append(\'<p id="rotateToPortrait" style="color: ' + ThemeManager.getCurrentThemeVariables().brandPrimary + '">' +
|
|
86
|
+ i18n.t("planexScreen.rotateToPortrait") + '</p>\');' +
|
85
|
87
|
'removeAlpha();' +
|
86
|
88
|
'});true;'; // Prevent crash on ios
|
87
|
89
|
|