TF-1165: Wrong Icon Read/Unread at ThreadTopBar
This commit is contained in:
@@ -55,8 +55,8 @@ class TopBarThreadSelection {
|
||||
buildIconWeb(
|
||||
icon: SvgPicture.asset(
|
||||
listEmail.isAllEmailRead
|
||||
? imagePaths.icRead
|
||||
: imagePaths.icUnread,
|
||||
? imagePaths.icUnread
|
||||
: imagePaths.icRead,
|
||||
fit: BoxFit.fill),
|
||||
tooltip: listEmail.isAllEmailRead
|
||||
? AppLocalizations.of(context).mark_as_unread
|
||||
|
||||
@@ -60,8 +60,8 @@ class AppBarSelectionMode extends StatelessWidget {
|
||||
splashRadius: 15,
|
||||
icon: SvgPicture.asset(
|
||||
listEmail.isAllEmailRead
|
||||
? _imagePaths.icRead
|
||||
: _imagePaths.icUnread,
|
||||
? _imagePaths.icUnread
|
||||
: _imagePaths.icRead,
|
||||
fit: BoxFit.fill),
|
||||
tooltip: listEmail.isAllEmailRead
|
||||
? AppLocalizations.of(context).unread
|
||||
|
||||
@@ -112,8 +112,8 @@ class AppBarThreadWidgetBuilder extends StatelessWidget {
|
||||
splashRadius: 15,
|
||||
icon: SvgPicture.asset(
|
||||
_listSelectionEmail.isAllEmailRead
|
||||
? _imagePaths.icRead
|
||||
: _imagePaths.icUnread,
|
||||
? _imagePaths.icUnread
|
||||
: _imagePaths.icRead,
|
||||
fit: BoxFit.fill),
|
||||
tooltip: _listSelectionEmail.isAllEmailRead
|
||||
? AppLocalizations.of(context).unread
|
||||
|
||||
@@ -393,8 +393,8 @@ class EmailTileBuilder with BaseEmailItemTile {
|
||||
splashRadius: 10,
|
||||
icon: SvgPicture.asset(
|
||||
_presentationEmail.hasRead
|
||||
? imagePaths.icRead
|
||||
: imagePaths.icUnread,
|
||||
? imagePaths.icUnread
|
||||
: imagePaths.icRead,
|
||||
color: AppColor.colorActionButtonHover,
|
||||
width: 16,
|
||||
height: 16,
|
||||
|
||||
Reference in New Issue
Block a user