0 ? "File too large to copy" : "Copy File Contents"}>
+ {tooltipProps => (
+ {
+ if (!recentlyCopied && bytesLeft <= 0) {
+ copyWithToast(fileContents);
+ setRecentlyCopied(true);
+ setTimeout(() => setRecentlyCopied(false), 2000);
+ }
+ }}
+ >
+ {recentlyCopied ? : bytesLeft > 0 ? : }
+
+ )}
+
+ );
+ }, { noop: true }),
+});
diff --git a/src/plugins/CopyFileContents/style.css b/src/plugins/CopyFileContents/style.css
new file mode 100644
index 00000000..c643cf0f
--- /dev/null
+++ b/src/plugins/CopyFileContents/style.css
@@ -0,0 +1,8 @@
+.vc-cfc-button {
+ color: var(--interactive-normal);
+ cursor: pointer;
+}
+
+.vc-cfc-button:hover {
+ color: var(--interactive-hover);
+}
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index ae1943b0..60c20325 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -550,6 +550,10 @@ export const Devs = /* #__PURE__*/ Object.freeze({
name: "Lumap",
id: 585278686291427338n,
},
+ Obsidian: {
+ name: "Obsidian",
+ id: 683171006717755446n,
+ },
SerStars: {
name: "SerStars",
id: 861631850681729045n,