diff --git a/web/cashtab/src/components/Common/Notifications.js b/web/cashtab/src/components/Common/Notifications.js
--- a/web/cashtab/src/components/Common/Notifications.js
+++ b/web/cashtab/src/components/Common/Notifications.js
@@ -18,7 +18,7 @@
),
- duration: 3,
+ duration: currency.notificationDurationShort,
icon: ,
style: { width: '100%' },
});
@@ -49,7 +49,7 @@
),
- duration: 3,
+ duration: currency.notificationDurationShort,
icon: ,
style: { width: '100%' },
});
@@ -87,7 +87,7 @@
)} ${cashtabSettings.fiatCurrency.toUpperCase()})`}
),
- duration: 3,
+ duration: currency.notificationDurationShort,
icon: ,
style: { width: '100%' },
});
@@ -106,7 +106,7 @@
You received {receivedSlpQty.toString()} {receivedSlpName}
),
- duration: 3,
+ duration: currency.notificationDurationShort,
icon: ,
style: { width: '100%' },
});
@@ -119,7 +119,7 @@
notification.error({
message: 'Error',
description: message,
- duration: 5,
+ duration: currency.notificationDurationLong,
});
};
diff --git a/web/cashtab/src/components/Common/Ticker.js b/web/cashtab/src/components/Common/Ticker.js
--- a/web/cashtab/src/components/Common/Ticker.js
+++ b/web/cashtab/src/components/Common/Ticker.js
@@ -26,6 +26,8 @@
txHistoryCount: 5,
hydrateUtxoBatchSize: 20,
defaultSettings: { fiatCurrency: 'usd' },
+ notificationDurationShort: 3,
+ notificationDurationLong: 5,
settingsValidation: {
fiatCurrency: [
'usd',