diff --git a/app/lib/drug/pages/drug.dart b/app/lib/drug/pages/drug.dart index c7dc0a88..2a20bb01 100644 --- a/app/lib/drug/pages/drug.dart +++ b/app/lib/drug/pages/drug.dart @@ -1,3 +1,5 @@ +import 'dart:io'; + import 'package:provider/provider.dart'; import '../../common/module.dart'; @@ -42,7 +44,7 @@ class DrugPage extends StatelessWidget { onPressed: loading ? null : () => context.read().createAndSharePdf(drug, context), icon: Icon( - Icons.ios_share_rounded, + Platform.isIOS ? Icons.ios_share_rounded : Icons.share_rounded, color: PharMeTheme.primaryColor, ), )