From db61ad8b32337267271a2c4b5752caa77a319603 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 4 Nov 2022 20:48:32 +0100 Subject: [PATCH] manifest --- lnbits/extensions/cashu/views.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lnbits/extensions/cashu/views.py b/lnbits/extensions/cashu/views.py index 6aec5cda9..ca05d83e3 100644 --- a/lnbits/extensions/cashu/views.py +++ b/lnbits/extensions/cashu/views.py @@ -59,11 +59,16 @@ async def manifest(cashu_id: str): "short_name": "Cashu", "name": cashu.name + " - " + "Cashu", "icons": [ + { + "src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/512x512.png", + "type": "image/png", + "sizes": "512x512", + }, { "src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/96x96.png", "type": "image/png", "sizes": "96x96", - } + }, ], "start_url": "/cashu/wallet?mint_id=" + cashu_id, "background_color": "#1F2234", @@ -77,6 +82,16 @@ async def manifest(cashu_id: str): "short_name": cashu.name, "description": cashu.name + " - " + "Cashu wallet", "url": "/cashu/wallet?mint_id=" + cashu_id, + "icons": [ + { + "src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/96x96.png", + "sizes": "96x96", + }, + { + "src": "https://github.com/cashubtc/cashu-ui/raw/main/ui/icons/512x512.png", + "sizes": "512x512", + }, + ], } ], }