fix app icon, icon in unified search

This commit is contained in:
Jonas Heinrich 2020-11-10 14:27:01 +01:00
parent 7a0144178b
commit 914ac91868
5 changed files with 8 additions and 3 deletions

View File

@ -18,8 +18,11 @@
</dependencies> </dependencies>
<navigations> <navigations>
<navigation> <navigation>
<id>radio</id>
<name>Radio</name> <name>Radio</name>
<route>radio.page.index</route> <route>radio.page.index</route>
<icon>radio.svg</icon>
<order>11</order>
</navigation> </navigation>
</navigations> </navigations>
</info> </info>

View File

@ -1,4 +1,4 @@
/** /**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com> * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
* *
@ -22,3 +22,4 @@
*/ */
@include icon-black-white('recent', 'radio', 1); @include icon-black-white('recent', 'radio', 1);
@include icon-black-white('radio', 'radio', 1);

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -52,7 +52,7 @@ class SearchProvider implements IProvider {
public function search(IUser $user, ISearchQuery $query): SearchResult { public function search(IUser $user, ISearchQuery $query): SearchResult {
$term = $query->getTerm(); $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(); $client = $this->clientService->newClient();
try { try {
@ -70,7 +70,7 @@ class SearchProvider implements IProvider {
$result['name'], $result['name'],
str_replace(",",", ",$result['tags']), str_replace(",",", ",$result['tags']),
'#/search/virus', '#/search/virus',
'icon-notes-trans' 'icon-radio'
); );
}, $parsed); }, $parsed);

View File

@ -27,6 +27,7 @@
icon="icon-search" icon="icon-search"
:title="t('radio', 'Search')" /> :title="t('radio', 'Search')" />
</template> </template>
<template #footer> <template #footer>
<Player <Player
:pinned="true" /> :pinned="true" />