Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 176c4182 authored by Akhil's avatar Akhil 🙂
Browse files

Fixed sed for non-logged in css

parent 8f217c91
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ RUN sed -i 's/$this->header, \[$this->themingDefaults->getColorPrimary()/$this->
# Ignore OS dark mode for all users
# Don't use user-specific dark theme css for non-logged in users
RUN sed -i 's/OCA.Accessibility.theme="dark"/OCA.Accessibility.theme="light"/' ${BASE_DIR}/apps/accessibility/js/accessibilityoca.js
RUN sed -i "s/$userValues = ['dark']/$userValues = []/" ${BASE_DIR}/apps/accessibility/lib/Controller/AccessibilityController.php
RUN sed -i "s/$userValues = \['dark'\]/$userValues = \[\]/" ${BASE_DIR}/apps/accessibility/lib/Controller/AccessibilityController.php

# Custom theme
RUN curl -fsSL -o eCloud-theme.tar.gz \