Skip to content

An open-source cross-platform alternative to AirDrop

feat: wrap with flexible

Tien Do Nambeb7576e58aa
diff --git a/lib/pages/tabs/send_tab.dart b/lib/pages/tabs/send_tab.dart
index d947e300..0ff3f5b2 100644
--- a/lib/pages/tabs/send_tab.dart
+++ b/lib/pages/tabs/send_tab.dart
@@ -165,10 +165,15 @@ class _SendTabState extends ConsumerState<SendTab> {
),
),
],
- const SizedBox(height: 20),
+ const SizedBox(height: 10),
Row(
children: [
- Text(t.sendTab.nearbyDevices, style: Theme.of(context).textTheme.subtitle1),
+ Flexible(
+ child: Padding(
+ padding: const EdgeInsets.symmetric(vertical: 10),
+ child: Text(t.sendTab.nearbyDevices, style: Theme.of(context).textTheme.subtitle1),
+ ),
+ ),
const SizedBox(width: 10),
if (networkInfo.localIps.length == 1)
Tooltip(