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>
<navigations>
<navigation>
<id>radio</id>
<name>Radio</name>
<route>radio.page.index</route>
<icon>radio.svg</icon>
<order>11</order>
</navigation>
</navigations>
</info>

View File

@ -1,4 +1,4 @@
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*
@ -22,3 +22,4 @@
*/
@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 {
$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);

View File

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