fix app icon, icon in unified search
This commit is contained in:
parent
7a0144178b
commit
914ac91868
@ -18,8 +18,11 @@
|
||||
</dependencies>
|
||||
<navigations>
|
||||
<navigation>
|
||||
<id>radio</id>
|
||||
<name>Radio</name>
|
||||
<route>radio.page.index</route>
|
||||
<icon>radio.svg</icon>
|
||||
<order>11</order>
|
||||
</navigation>
|
||||
</navigations>
|
||||
</info>
|
||||
|
@ -22,3 +22,4 @@
|
||||
*/
|
||||
|
||||
@include icon-black-white('recent', 'radio', 1);
|
||||
@include icon-black-white('radio', 'radio', 1);
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@ -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);
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
icon="icon-search"
|
||||
:title="t('radio', 'Search')" />
|
||||
</template>
|
||||
|
||||
<template #footer>
|
||||
<Player
|
||||
:pinned="true" />
|
||||
|
Loading…
Reference in New Issue
Block a user