Add notifications for accepted contact requests

Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld
2022-05-11 11:39:01 -07:00
co-authored by Nathan Sobo
parent a5fd664b00
commit 3bc9b8ec85
18 changed files with 301 additions and 253 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import search from "./search";
import picker from "./picker";
import workspace from "./workspace";
import projectDiagnostics from "./projectDiagnostics";
import incomingRequestNotification from "./incomingRequestNotification";
import contactNotification from "./contactNotification";
export const panel = {
padding: { top: 12, left: 12, bottom: 12, right: 12 },
@@ -34,6 +34,6 @@ export default function app(theme: Theme): Object {
left: 6,
},
},
incomingRequestNotification: incomingRequestNotification(theme),
contactNotification: contactNotification(theme),
};
}
@@ -1,7 +1,7 @@
import Theme from "../themes/theme";
import { backgroundColor, iconColor, text } from "./components";
export default function incomingRequestNotification(theme: Theme): Object {
export default function contactNotification(theme: Theme): Object {
return {
headerAvatar: {
height: 12,