diff --git a/src/components/Options.vue b/src/components/Options.vue
index 3d1a29d27..03ac2cce5 100644
--- a/src/components/Options.vue
+++ b/src/components/Options.vue
@@ -25,12 +25,8 @@ export default Vue.extend({
},
methods: {
async deleteEverything() {
- await new Promise((resolve: () => void) =>
- chrome.storage.sync.clear(() => resolve())
- );
- await new Promise((resolve: () => void) =>
- chrome.storage.local.clear(() => resolve())
- );
+ await chrome.storage.sync.clear();
+ await chrome.storage.local.clear();
localStorage.clear();
chrome.runtime.sendMessage({ action: "lock" });
this.deleteConfirm = false;
diff --git a/src/components/Permissions.vue b/src/components/Permissions.vue
new file mode 100644
index 000000000..c53a10691
--- /dev/null
+++ b/src/components/Permissions.vue
@@ -0,0 +1,53 @@
+
+
+
Permissions
+
+
+
+
+
+
{{ permission.id }}
+
{{ permission.description }}
+
{{ i18n.permission_required }}
+
+
+
+
+
diff --git a/src/components/Popup.vue b/src/components/Popup.vue
index 8e263999c..5ef9d0fd8 100644
--- a/src/components/Popup.vue
+++ b/src/components/Popup.vue
@@ -3,10 +3,16 @@
v-cloak
v-bind:class="{
'theme-normal':
- theme !== 'accessibility' && theme !== 'dark' && theme !== 'simple',
+ theme !== 'accessibility' &&
+ theme !== 'dark' &&
+ theme !== 'simple' &&
+ theme !== 'compact' &&
+ theme !== 'flat',
'theme-accessibility': theme === 'accessibility',
'theme-dark': theme === 'dark',
'theme-simple': theme === 'simple',
+ 'theme-compact': theme === 'compact',
+ 'theme-flat': theme === 'flat',
hideoutline,
}"
v-on:mousedown="hideoutline = true"
diff --git a/src/components/Popup/AddMethodPage.vue b/src/components/Popup/AddMethodPage.vue
index 2128a10bc..5fb0bee50 100644
--- a/src/components/Popup/AddMethodPage.vue
+++ b/src/components/Popup/AddMethodPage.vue
@@ -4,10 +4,17 @@
{{ i18n.add_secret }}
+
{{
+ i18n.import_qr_images
+ }}
+
{{
+ i18n.import_otp_urls
+ }}
diff --git a/src/components/Popup/MainHeader.vue b/src/components/Popup/MainHeader.vue
index 7bca7a4a9..a05ccd00c 100644
--- a/src/components/Popup/MainHeader.vue
+++ b/src/components/Popup/MainHeader.vue
@@ -74,7 +74,7 @@
+