diff --git a/.gitignore b/.gitignore index 5b3d8cc7..acdeb8dd 100755 --- a/.gitignore +++ b/.gitignore @@ -634,6 +634,7 @@ frontend/static/assets/avatars* api/lightning/*_grpc.py api/lightning/*_pb2.py api/lightning/pymp* +api/lightning/pip* frontend/static/locales/collected_phrases.json frontend/static/admin* frontend/static/rest_framework* @@ -648,15 +649,15 @@ node # frontend statics mobile/html/Web.bundle/static/* -# mobile/html/Web.bundle/index.html +mobile/html/Web.bundle/index.html desktopApp/static/* -# desktopApp/index.html +desktopApp/index.html web/static/* -# web/basic.html -# web/pro.html +web/basic.html +web/pro.html nodeapp/static/* -# nodeapp/basic.html -# nodeapp/pro.html +nodeapp/basic.html +nodeapp/pro.html # Protocol Buffers api/lightning/*.proto diff --git a/frontend/src/components/HostAlert/index.tsx b/frontend/src/components/HostAlert/index.tsx index a206e217..2af92b74 100644 --- a/frontend/src/components/HostAlert/index.tsx +++ b/frontend/src/components/HostAlert/index.tsx @@ -4,8 +4,8 @@ import SelfhostedAlert from './SelfhostedAlert'; import UnsafeAlert from './UnsafeAlert'; const HostAlert = (): JSX.Element => { - const { settings } = useContext(AppContext); - const component = settings.selfhostedClient ? SelfhostedAlert : UnsafeAlert; + const { client } = useContext(AppContext); + const component = client === 'selfhosted' || client === 'desktop' ? SelfhostedAlert : UnsafeAlert; return component(); }; diff --git a/frontend/templates/frontend/basic.html b/frontend/templates/frontend/basic.html index 3a44e4cf..a4cc0f74 100644 --- a/frontend/templates/frontend/basic.html +++ b/frontend/templates/frontend/basic.html @@ -1,10 +1,10 @@ - - - - + + + + @@ -12,10 +12,10 @@ RoboSats - Simple and Private Bitcoin Exchange - - - - + + + +