diff options
-rw-r--r-- | src/frontend/tubo/events.cljs | 4 | ||||
-rw-r--r-- | src/frontend/tubo/routes.cljs | 6 | ||||
-rw-r--r-- | src/frontend/tubo/views/bookmarks.cljs (renamed from src/frontend/tubo/views/playlists.cljs) | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/frontend/tubo/events.cljs b/src/frontend/tubo/events.cljs index f960baf..dcadf88 100644 --- a/src/frontend/tubo/events.cljs +++ b/src/frontend/tubo/events.cljs @@ -736,6 +736,6 @@ ::document-title! "Settings")))) (rf/reg-event-fx - ::get-playlists-page + ::get-bookmarks-page (fn [_] - {::document-title! "Playlists"})) + {::document-title! "Bookmarks"})) diff --git a/src/frontend/tubo/routes.cljs b/src/frontend/tubo/routes.cljs index 96b14a4..edbcb00 100644 --- a/src/frontend/tubo/routes.cljs +++ b/src/frontend/tubo/routes.cljs @@ -7,7 +7,7 @@ [tubo.views.channel :as channel] [tubo.views.kiosk :as kiosk] [tubo.views.playlist :as playlist] - [tubo.views.playlists :as playlists] + [tubo.views.bookmarks :as bookmarks] [tubo.views.search :as search] [tubo.views.settings :as settings] [tubo.views.stream :as stream])) @@ -45,9 +45,9 @@ ["/settings" {:view settings/settings-page :name ::settings :controllers [{:start #(rf/dispatch [::events/get-settings-page])}]}] - ["/playlists" {:view playlists/playlists-page + ["/bookmarks" {:view bookmarks/bookmarks-page :name ::playlists - :controllers [{:start #(rf/dispatch [::events/get-playlists-page])}]}]])) + :controllers [{:start #(rf/dispatch [::events/get-bookmarks-page])}]}]])) (defn on-navigate [new-match] diff --git a/src/frontend/tubo/views/playlists.cljs b/src/frontend/tubo/views/bookmarks.cljs index b640960..3f47c02 100644 --- a/src/frontend/tubo/views/playlists.cljs +++ b/src/frontend/tubo/views/bookmarks.cljs @@ -1,11 +1,11 @@ -(ns tubo.views.playlists +(ns tubo.views.bookmarks (:require [re-frame.core :as rf] [tubo.components.items :as items] [tubo.components.layout :as layout] [tubo.events :as events])) -(defn playlists-page +(defn bookmarks-page [] (let [service-color @(rf/subscribe [:service-color]) bookmarks @(rf/subscribe [:bookmarks])] |