From 2b375bc68bfb8d169a1d703f2855df8effd07b38 Mon Sep 17 00:00:00 2001 From: Vishnu Date: Tue, 6 Jul 2021 13:26:29 +0530 Subject: [PATCH] Improve icons --- lib/ui/detail_page.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/ui/detail_page.dart b/lib/ui/detail_page.dart index dd2e7432c..f6019ad2c 100644 --- a/lib/ui/detail_page.dart +++ b/lib/ui/detail_page.dart @@ -148,7 +148,8 @@ class _DetailPageState extends State { Padding( padding: const EdgeInsets.only(top: 12, bottom: 12), child: IconButton( - icon: Icon(Icons.info_outline), + icon: Icon( + Platform.isAndroid ? Icons.info_outline : CupertinoIcons.info), onPressed: () { _displayInfo(_files[_selectedIndex]); }, @@ -160,7 +161,7 @@ class _DetailPageState extends State { Padding( padding: const EdgeInsets.only(top: 12, bottom: 12), child: IconButton( - icon: Icon(Icons.edit_outlined), + icon: Icon(Icons.tune_outlined), onPressed: () { _editFile(_files[_selectedIndex]); }, @@ -172,7 +173,8 @@ class _DetailPageState extends State { Padding( padding: const EdgeInsets.only(top: 12, bottom: 12), child: IconButton( - icon: Icon(Icons.share_outlined), + icon: Icon( + Platform.isAndroid ? Icons.share_outlined : CupertinoIcons.share), onPressed: () { share(context, [_files[_selectedIndex]]); },