mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Global: add OpenVK Refresh info
This commit is contained in:
parent
06b77ebad8
commit
c6c8e8e175
4 changed files with 3 additions and 2 deletions
|
@ -119,7 +119,7 @@ class Post extends Postable
|
||||||
$platform = $this->getRecord()->api_source_name;
|
$platform = $this->getRecord()->api_source_name;
|
||||||
if($forAPI) {
|
if($forAPI) {
|
||||||
switch ($platform) {
|
switch ($platform) {
|
||||||
case 'openvk_android':
|
case 'openvk_refresh_android':
|
||||||
case 'openvk_legacy_android':
|
case 'openvk_legacy_android':
|
||||||
return 'android';
|
return 'android';
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -756,7 +756,7 @@ class User extends RowModel
|
||||||
$platform = $this->getRecord()->client_name;
|
$platform = $this->getRecord()->client_name;
|
||||||
if($forAPI) {
|
if($forAPI) {
|
||||||
switch ($platform) {
|
switch ($platform) {
|
||||||
case 'openvk_android':
|
case 'openvk_refresh_android':
|
||||||
case 'openvk_legacy_android':
|
case 'openvk_legacy_android':
|
||||||
return 'android';
|
return 'android';
|
||||||
break;
|
break;
|
||||||
|
|
BIN
Web/static/img/app_icons/openvk_refresh.png
Normal file
BIN
Web/static/img/app_icons/openvk_refresh.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9 KiB |
|
@ -2,4 +2,5 @@
|
||||||
<Clients name="standard">
|
<Clients name="standard">
|
||||||
<Client tag="vk4me" name="VK4ME" url="http://vk4me.crx.moe/" img="/assets/packages/static/openvk/img/app_icons/vk4me.png" />
|
<Client tag="vk4me" name="VK4ME" url="http://vk4me.crx.moe/" img="/assets/packages/static/openvk/img/app_icons/vk4me.png" />
|
||||||
<Client tag="openvk_legacy_android" name="OpenVK Legacy" url="https://f-droid.org/packages/uk.openvk.android.legacy/" img="/assets/packages/static/openvk/img/app_icons/openvk_legacy.png" />
|
<Client tag="openvk_legacy_android" name="OpenVK Legacy" url="https://f-droid.org/packages/uk.openvk.android.legacy/" img="/assets/packages/static/openvk/img/app_icons/openvk_legacy.png" />
|
||||||
|
<Client tag="openvk_refresh_android" name="OpenVK Refresh" url="https://github.com/openvk/openvk-refresh" img="/assets/packages/static/openvk/img/app_icons/openvk_refresh.png" />
|
||||||
</Clients>
|
</Clients>
|
Loading…
Reference in a new issue