An open-source cross-platform alternative to AirDrop
feat: add share intent notice
Tien Do Nam892e4af54369
diff --git a/assets/i18n/strings.i18n.json b/assets/i18n/strings.i18n.jsonindex 88aa1a8d..d95c63a0 100644--- a/assets/i18n/strings.i18n.json+++ b/assets/i18n/strings.i18n.json@@ -49,6 +49,7 @@"media": "Media","text": "Text"},+ "shareIntentInfo": "You can also use the native \"Share\" feature to select files more easily.","nearbyDevices": "Nearby devices","thisDevice": "This Device","scan": "Look for devices",diff --git a/assets/i18n/strings_de.i18n.json b/assets/i18n/strings_de.i18n.jsonindex 8cbb63ce..ab8bf1d7 100644--- a/assets/i18n/strings_de.i18n.json+++ b/assets/i18n/strings_de.i18n.json@@ -49,6 +49,7 @@"media": "Medien","text": "Text"},+ "shareIntentInfo": "Du kannst auch die native \"Teilen\"-Funktion nutzen, um Dateien einfacher auszuwählen.","nearbyDevices": "Geräte in der Nähe","thisDevice": "Dieses Gerät","scan": "Geräte suchen",diff --git a/lib/pages/tabs/send_tab.dart b/lib/pages/tabs/send_tab.dartindex f6b98ea9..f4f7e159 100644--- a/lib/pages/tabs/send_tab.dart+++ b/lib/pages/tabs/send_tab.dart@@ -265,6 +265,11 @@ class _SendTabState extends ConsumerState<SendTab> {);}),const SizedBox(height: 20),+ if (checkPlatformCanReceiveShareIntent())+ Padding(+ padding: const EdgeInsets.only(bottom: 10),+ child: Text(t.sendTab.shareIntentInfo, style: const TextStyle(color: Colors.grey), textAlign: TextAlign.center),+ ),Text(t.sendTab.help, style: const TextStyle(color: Colors.grey), textAlign: TextAlign.center),const SizedBox(height: 50),],