diff --git a/lib/ui/app/icon_text.dart b/lib/ui/app/icon_text.dart index e530c21f8..211772703 100644 --- a/lib/ui/app/icon_text.dart +++ b/lib/ui/app/icon_text.dart @@ -20,7 +20,7 @@ class IconText extends StatelessWidget { children: [ Icon(icon, color: style?.color), SizedBox(width: 10), - Text(text, style: style), + Text(text ?? '', style: style), ], ); } diff --git a/web/index.html b/web/index.html index d9b25aa57..c9bf1d38e 100644 --- a/web/index.html +++ b/web/index.html @@ -3,6 +3,7 @@ Invoice Ninja + diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 000000000..0ba9ae91e --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,28 @@ +{ + "name": "Invoice Ninja", + "short_name": "Invoice Ninja", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "The leading open-source invoicing app", + "orientation": "portrait-primary", + "prefer_related_applications": true, + "related_applications": [ + { + "platform": "play", + "url": "https://play.google.com/store/apps/details?id=com.invoiceninja.app", + "id": "com.invoiceninja.app" + }, { + "platform": "itunes", + "url": "https://testflight.apple.com/join/MJ6WpaXh" + } + ] + "icons": [ + { + "src": "images/logo.png", + "sizes": "397x397", + "type": "image/png" + } + ] +}