fix app icon, icon in unified search
This commit is contained in:
parent
7a0144178b
commit
914ac91868
@ -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>
|
||||||
|
@ -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);
|
||||||
|
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 {
|
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);
|
||||||
|
|
||||||
|
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user