Global: add OpenVK Refresh info

This commit is contained in:
veselcraft 2023-02-03 14:22:19 +03:00
parent 06b77ebad8
commit c6c8e8e175
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E
4 changed files with 3 additions and 2 deletions

View file

@ -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;

View file

@ -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;

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB

View file

@ -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>