Skip to content

Commit

Permalink
Use trash icon when swiping to delete
Browse files Browse the repository at this point in the history
fix #3037
  • Loading branch information
jowlo authored and mpfau committed May 25, 2021
1 parent ef7af95 commit 27570d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mail/view/MailListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class MailListView implements Component {
m(Icon, {icon: Icons.Folder}),
m(".pl-s", this.targetInbox() ? lang.get('received_action') : lang.get('archive_action'))
],
renderRightSpacer: () => [m(Icon, {icon: Icons.Folder}), m(".pl-s", lang.get('delete_action'))],
renderRightSpacer: () => [m(Icon, {icon: Icons.Trash}), m(".pl-s", lang.get('delete_action'))],
swipeLeft: (listElement: Mail) => promptAndDeleteMails(locator.mailModel, [listElement], () => this.list.selectNone()),
swipeRight: (listElement: Mail) => {
if (!logins.isInternalUserLoggedIn()) {
Expand Down

0 comments on commit 27570d9

Please sign in to comment.