From 7a6bf3af9aa8b72d0002e3a2477cdd6c9b36eaa7 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 28 Feb 2026 01:37:45 -0800 Subject: [PATCH] fix: make export key a subtle link, add view to VIEWS array MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Moved 'Export private key' from prominent button row to a small muted text link at the bottom of the address detail view - Added 'export-privkey' to the VIEWS array in helpers.js — this was the cause of the blank view (showView toggled all known views but didn't know about export-privkey, so it was never unhidden) --- src/popup/index.html | 17 +++++++---------- src/popup/views/helpers.js | 1 + 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/popup/index.html b/src/popup/index.html index 51d6927..d5cd832 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -365,16 +365,6 @@ - -
- -
-
@@ -384,6 +374,13 @@
Loading...
+
+ Export private key +
diff --git a/src/popup/views/helpers.js b/src/popup/views/helpers.js index e5b71d0..8fdfe65 100644 --- a/src/popup/views/helpers.js +++ b/src/popup/views/helpers.js @@ -31,6 +31,7 @@ const VIEWS = [ "approve-site", "approve-tx", "approve-sign", + "export-privkey", ]; function $(id) {