Show project root names when displaying incoming call notification

This commit is contained in:
Antonio Scandurra
2022-10-11 10:59:36 +02:00
parent e0b6b0df2a
commit bf488f2027
8 changed files with 81 additions and 23 deletions
@@ -4,6 +4,8 @@ import { backgroundColor, borderColor, text } from "./components";
export default function incomingCallNotification(theme: Theme): Object {
const avatarSize = 32;
return {
windowHeight: 74,
windowWidth: 380,
background: backgroundColor(theme, 300),
callerContainer: {
padding: 12,
@@ -24,6 +26,10 @@ export default function incomingCallNotification(theme: Theme): Object {
...text(theme, "sans", "secondary", { size: "xs" }),
margin: { top: -3 },
},
worktreeRoots: {
...text(theme, "sans", "secondary", { size: "xs", weight: "bold" }),
margin: { top: -3 },
},
buttonWidth: 96,
acceptButton: {
background: backgroundColor(theme, "ok", "active"),
@@ -4,7 +4,7 @@ import { backgroundColor, borderColor, text } from "./components";
export default function projectSharedNotification(theme: Theme): Object {
const avatarSize = 48;
return {
windowHeight: 72,
windowHeight: 74,
windowWidth: 380,
background: backgroundColor(theme, 300),
ownerContainer: {