Change icon for 'Mark as read' buttons

This commit is contained in:
Laura Hausmann 2023-11-04 19:43:48 +01:00 committed by Laura Hausmann
parent a6f5a1dbbb
commit 0e03f305cb
Signed by: zotan
GPG key ID: D044E84C5BE01605
4 changed files with 4 additions and 4 deletions

View file

@ -101,7 +101,7 @@ const headerActions = $computed(() =>
handler: settings, handler: settings,
}, },
// { // {
// icon: "ph-check ph-bold ph-lg", // icon: "ph-checks ph-bold ph-lg",
// text: i18n.ts.markAllAsRead, // text: i18n.ts.markAllAsRead,
// handler: markRead, // handler: markRead,
// }, // },

View file

@ -130,7 +130,7 @@ async function readAllMessagingMessages() {
const headerActions = $computed(() => [ const headerActions = $computed(() => [
{ {
icon: "ph-check ph-bold ph-lg", icon: "ph-checks ph-bold ph-lg",
text: i18n.ts.markAllAsRead, text: i18n.ts.markAllAsRead,
handler: readAllMessagingMessages, handler: readAllMessagingMessages,
}, },

View file

@ -133,7 +133,7 @@ const headerActions = $computed(() =>
tab === "all" tab === "all"
? { ? {
text: i18n.ts.markAllAsRead, text: i18n.ts.markAllAsRead,
icon: "ph-check ph-bold ph-lg", icon: "ph-checks ph-bold ph-lg",
handler: () => { handler: () => {
os.apiWithDialog("notifications/mark-all-as-read"); os.apiWithDialog("notifications/mark-all-as-read");
}, },

View file

@ -15,7 +15,7 @@
:aria-label="i18n.ts.markAllAsRead" :aria-label="i18n.ts.markAllAsRead"
@click="os.apiWithDialog('notifications/mark-all-as-read')" @click="os.apiWithDialog('notifications/mark-all-as-read')"
> >
<i class="ph-check ph-bold ph-lg"></i></button <i class="ph-checks ph-bold ph-lg"></i></button
><button ><button
class="_button" class="_button"
:aria-label="i18n.ts.notificationSetting" :aria-label="i18n.ts.notificationSetting"