From 6904613fa03047e01a4641da4563ce5b0cf9a609 Mon Sep 17 00:00:00 2001 From: tamslo Date: Fri, 15 Nov 2024 00:24:10 +0100 Subject: [PATCH] feat(#661): hide HX sharing for iOS --- app/lib/login/pages/login.dart | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/lib/login/pages/login.dart b/app/lib/login/pages/login.dart index fbeac89c..657c5c89 100644 --- a/app/lib/login/pages/login.dart +++ b/app/lib/login/pages/login.dart @@ -1,3 +1,5 @@ +import 'dart:io'; + import 'package:dropdown_button2/dropdown_button2.dart'; import 'package:provider/provider.dart'; @@ -128,9 +130,11 @@ class LoginPage extends HookWidget { ), ), ], - bottomWidget: Column( - children: _buildHealthXShareContent(context), - ) + bottomWidget: Platform.isAndroid + ? Column( + children: _buildHealthXShareContent(context), + ) + : null, ); }