Skip to content

Commit

Permalink
feat(app): adaptive share icon
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Dec 10, 2024
1 parent 07a15ec commit c2c32ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/lib/drug/pages/drug.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'dart:io';

import 'package:provider/provider.dart';

import '../../common/module.dart';
Expand Down Expand Up @@ -42,7 +44,7 @@ class DrugPage extends StatelessWidget {
onPressed: loading ? null : () =>
context.read<DrugCubit>().createAndSharePdf(drug, context),
icon: Icon(
Icons.ios_share_rounded,
Platform.isIOS ? Icons.ios_share_rounded : Icons.share_rounded,
color: PharMeTheme.primaryColor,
),
)
Expand Down

0 comments on commit c2c32ed

Please sign in to comment.