Browse Source

Changed Planex landscape indicator text color

keplyx 2 years ago
parent
commit
a38e251cb5
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      screens/PlanexScreen.js

+ 4
- 2
screens/PlanexScreen.js View File

@@ -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
 

Loading…
Cancel
Save