Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions apps/desktop/src/stt/contexts.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ describe("ListenerProvider detect events", () => {
},
footer: null,
icon: {
type: "system_symbol",
name: "phone.fill",
type: "path",
path: "/resources/notification-icons/phone.png",
},
}),
),
Expand Down Expand Up @@ -729,13 +729,13 @@ describe("ListenerProvider detect events", () => {
text: "Ignore iPhone Call?",
actionLabel: "Yes",
icon: {
type: "system_symbol",
name: "phone.fill",
type: "path",
path: "/resources/notification-icons/phone.png",
},
},
icon: {
type: "system_symbol",
name: "phone.fill",
type: "path",
path: "/resources/notification-icons/phone.png",
},
}),
),
Expand Down
8 changes: 2 additions & 6 deletions apps/desktop/src/stt/contexts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ type MeetingPlatform = {
iconResource: NotificationIconResource;
};

const IPHONE_CALL_ICON: NotificationIcon = {
type: "system_symbol",
name: "phone.fill",
};

const NOTIFICATION_ICON_RESOURCES = {
calCom: "notification-icons/cal-com.png",
calVideo: "notification-icons/cal-video.png",
Expand All @@ -98,6 +93,7 @@ const NOTIFICATION_ICON_RESOURCES = {
line: "notification-icons/line.png",
messenger: "notification-icons/messenger.png",
microsoftTeams: "notification-icons/microsoft-teams.png",
phone: "notification-icons/phone.png",
signal: "notification-icons/signal.png",
slack: "notification-icons/slack.png",
telegram: "notification-icons/telegram.png",
Expand Down Expand Up @@ -212,7 +208,7 @@ const MIC_APP_NOTIFICATION_OVERRIDES = [
]),
names: new Set(["av capture", "avcapture", "avconferenced", "iphone call"]),
displayName: "iPhone Call",
icon: IPHONE_CALL_ICON,
iconResource: "phone",
},
{
ids: new Set(["com.apple.FaceTime"]),
Expand Down
Loading