diff --git a/appinfo/info.xml b/appinfo/info.xml index a1221e5..960a8dd 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -18,8 +18,11 @@ + radio Radio radio.page.index + radio.svg + 11 diff --git a/css/icons.scss b/css/icons.scss index d3cd953..a8bf497 100644 --- a/css/icons.scss +++ b/css/icons.scss @@ -1,4 +1,4 @@ - + /** * @copyright Copyright (c) 2019 John Molakvoæ * @@ -22,3 +22,4 @@ */ @include icon-black-white('recent', 'radio', 1); +@include icon-black-white('radio', 'radio', 1); diff --git a/img/app.svg b/img/radio.svg similarity index 100% rename from img/app.svg rename to img/radio.svg diff --git a/lib/Search/SearchProvider.php b/lib/Search/SearchProvider.php index d82de6b..82fe405 100644 --- a/lib/Search/SearchProvider.php +++ b/lib/Search/SearchProvider.php @@ -52,7 +52,7 @@ class SearchProvider implements IProvider { public function search(IUser $user, ISearchQuery $query): SearchResult { $term = $query->getTerm(); - $url = "https://de1.api.radio-browser.info/json/stations/byname/" . $term; + $url = "https://de1.api.radio-browser.info/json/stations/byname/" . $term . "?limit=20"; $client = $this->clientService->newClient(); try { @@ -70,7 +70,7 @@ class SearchProvider implements IProvider { $result['name'], str_replace(",",", ",$result['tags']), '#/search/virus', - 'icon-notes-trans' + 'icon-radio' ); }, $parsed); diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index 2f07ff5..1ade168 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -27,6 +27,7 @@ icon="icon-search" :title="t('radio', 'Search')" /> +