From dd66e66b51f50ee54d338c43c47fa547b27b1c6f Mon Sep 17 00:00:00 2001 From: Fernando Quant Date: Wed, 29 Jan 2020 21:33:02 +0000 Subject: [PATCH] Workingon themes --- src/app/components/themes/themes.component.html | 2 +- src/app/openlp.service.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/components/themes/themes.component.html b/src/app/components/themes/themes.component.html index 02d74f1..f98f9d0 100644 --- a/src/app/components/themes/themes.component.html +++ b/src/app/components/themes/themes.component.html @@ -15,4 +15,4 @@

Song level theme changing not yet supported.
To continue, change your theme level.

- \ No newline at end of file + diff --git a/src/app/openlp.service.ts b/src/app/openlp.service.ts index fe03945..847c8da 100644 --- a/src/app/openlp.service.ts +++ b/src/app/openlp.service.ts @@ -83,7 +83,7 @@ export class OpenLPService { } getThemeLevel(): Observable { - return this.http.get(`${this.apiURL}/controller/get_theme_level`, httpOptions); + return this.http.get(`${this.apiURL}/controller/theme-level`, httpOptions); } getThemes(): Observable { @@ -107,11 +107,11 @@ export class OpenLPService { } setThemeLevel(level): Observable { - return this.http.post(`${this.apiURL}/controller/set_theme_level`, {'level': level}, httpOptions); + return this.http.post(`${this.apiURL}/controller/theme-level`, {'level': level}, httpOptions); } setTheme(theme: string): Observable { - return this.http.post(`${this.apiURL}/controller/theme_change`, {'theme': theme}, httpOptions); + return this.http.post(`${this.apiURL}/controller/theme`, {'theme': theme}, httpOptions); } nextItem(): Observable {