getting icons showing for link and copy pasting working

This commit is contained in:
Arjun Patel
2022-02-11 17:44:54 -08:00
parent 1a596f5a69
commit 8dd4221516
4 changed files with 108 additions and 12 deletions
+5
View File
@@ -126,6 +126,10 @@ export class Link {
return LinkType.pdf;
} else if (url.includes(LinkType.codePile)) {
return LinkType.codePile;
} else if (url.includes("meet.google.com")) {
return LinkType.googleMeet;
} else if (url.includes(".zoom.")) {
return LinkType.zoom;
} else {
return LinkType.default;
}
@@ -143,4 +147,5 @@ export enum LinkType {
codePile = "codepile",
pastePics = "paste.pics",
googleMeet = "googleMeet",
zoom = "zoom",
}