summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/context
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-03-04 12:07:35 -0300
committerSebastian <sebasjm@gmail.com>2024-03-04 12:07:35 -0300
commit6c124075b9a8540d848cd02cc3ba170eae052915 (patch)
tree6c509d89f63c6cd4a29026c32f0d3f8f74082aec /packages/taler-wallet-webextension/src/context
parentc58349ebaa173881a4201e83e928325707758eb8 (diff)
downloadwallet-core-6c124075b9a8540d848cd02cc3ba170eae052915.tar.gz
wallet-core-6c124075b9a8540d848cd02cc3ba170eae052915.tar.bz2
wallet-core-6c124075b9a8540d848cd02cc3ba170eae052915.zip
fix #8371
Diffstat (limited to 'packages/taler-wallet-webextension/src/context')
-rw-r--r--packages/taler-wallet-webextension/src/context/alert.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/context/alert.ts b/packages/taler-wallet-webextension/src/context/alert.ts
index 45fc9d9d9..36de7c7e4 100644
--- a/packages/taler-wallet-webextension/src/context/alert.ts
+++ b/packages/taler-wallet-webextension/src/context/alert.ts
@@ -222,7 +222,7 @@ function isWalletNotAvailable(i18n: InternationalizationAPI, detail: TalerErrorD
&& detail.lastError) {
const le = detail.lastError as TalerErrorDetail
if (le.code === TalerErrorCode.WALLET_DB_UNAVAILABLE) {
- if (platform.isFirefox()) {
+ if (platform.isFirefox() && platform.runningOnPrivateMode()) {
return i18n.str`Could not open the wallet database. Firefox is known to run into this problem under "permanent private mode".`
} else {
return i18n.str`Could not open the wallet database.`