iOS: use different archive icon for different states

This commit is contained in:
Neeraj Gupta 2021-10-04 15:25:20 +05:30
parent b6ccb0b7f5
commit 961a8ab875
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -102,8 +102,9 @@ class FadingBottomBarState extends State<FadingBottomBar> {
? (isArchived
? Icons.unarchive_outlined
: Icons.archive_outlined)
: CupertinoIcons.archivebox,
),
: (isArchived
? CupertinoIcons.archivebox_fill
: CupertinoIcons.archivebox)),
onPressed: () async {
await changeVisibility(
context,