diff --git a/app/components/admin/homeComponents/settingsContent/feeInformation.js b/app/components/admin/homeComponents/settingsContent/feeInformation.js index 30c0865f..fcd3ad83 100644 --- a/app/components/admin/homeComponents/settingsContent/feeInformation.js +++ b/app/components/admin/homeComponents/settingsContent/feeInformation.js @@ -2,74 +2,26 @@ import { ScrollView, StyleSheet, TouchableOpacity, View } from 'react-native'; import { ThemeText } from '../../../../functions/CustomElements'; import { useGlobalThemeContext } from '../../../../../context-store/theme'; import GetThemeColors from '../../../../hooks/themeColors'; -import { useMemo, useState } from 'react'; import { CENTER, COLORS, ICONS, SIZES } from '../../../../constants'; import { INSET_WINDOW_WIDTH } from '../../../../constants/theme'; import { useGlobalContextProvider } from '../../../../../context-store/context'; import { useTranslation } from 'react-i18next'; -import { useSparkWallet } from '../../../../../context-store/sparkContext'; -import { useFlashnet } from '../../../../../context-store/flashnetContext'; import { formatBalanceAmount } from '../../../../functions'; import openWebBrowser from '../../../../functions/openWebBrowser'; import ThemeImage from '../../../../functions/CustomElements/themeImage'; import ThemeIcon from '../../../../functions/CustomElements/themeIcon'; export default function BlitzFeeInformation() { - const { showTokensInformation } = useSparkWallet(); const { masterInfoObject } = useGlobalContextProvider(); const { theme, darkModeType } = useGlobalThemeContext(); const { textColor, backgroundOffset, backgroundColor } = GetThemeColors(); - const [paymentType, setPaymentType] = useState('lightning'); + const { t } = useTranslation(); - const feeOptions = showTokensInformation - ? ['lightning', 'spark', 'bitcoin', 'tokens'] - : ['lightning', 'spark', 'bitcoin']; - - const timeFrameElements = useMemo(() => { - return feeOptions.map(item => { - return ( - setPaymentType(item)} - style={{ - backgroundColor: - item === paymentType - ? theme && darkModeType - ? COLORS.darkModeText - : COLORS.primary - : 'transparent', - borderColor: - theme && darkModeType ? COLORS.darkModeText : COLORS.primary, - ...styles.timeFrameElement, - }} - > - - - ); - }); - }, [paymentType, textColor, theme, darkModeType, feeOptions]); - return ( BTC", "liquidFee": "0,5 % Blitz-Gebühr + Netzwerkgebühren", + "roostock": "Rootstock <> BTC", + "rootstockFee": "0,1 % Boltz-Gebühr + Netzwerkgebühren", "accumulationType": "Akkumulationsadressen", "accumulationFee": "0,5 % Blitz-Gebühr + 0,5 % Plattformgebühr", "othersType": "Alle anderen", diff --git a/locales/en/translation.json b/locales/en/translation.json index 1efc9194..01192e61 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -1844,6 +1844,8 @@ "chainSwapFee": "0.5% Blitz fee + 0.1%+ Flashnet fee", "liquid": "Liquid <> BTC", "liquidFee": "0.5% Blitz fee + network fees", + "rootstock": "Rootstock <> BTC", + "rootstockFee": "0.1% Boltz fee + network fees", "accumulationType": "Accumulation addresses", "accumulationFee": "0.5% Blitz fee + 0.5% Flashnet fee", "othersType": "All other", diff --git a/locales/es/translation.json b/locales/es/translation.json index 6fc72de6..5977d103 100644 --- a/locales/es/translation.json +++ b/locales/es/translation.json @@ -1854,6 +1854,8 @@ "chainSwapFee": "0,5 % de comisión de Blitz + 0,1 %+ de comisión de plataforma", "liquid": "Liquid <> BTC", "liquidFee": "0,5 % de comisión de Blitz + comisiones de red", + "roostock": "Roostock <> BTC", + "roostockFee": "0,1 % de comisión de Boltz + comisiones de red", "accumulationType": "Direcciones de acumulación", "accumulationFee": "0,5 % de comisión de Blitz + 0,5 % de comisión de plataforma", "othersType": "Otros", diff --git a/locales/fr/translation.json b/locales/fr/translation.json index 98838b66..a999dfba 100644 --- a/locales/fr/translation.json +++ b/locales/fr/translation.json @@ -1857,6 +1857,8 @@ "chainSwapFee": "0,5 % de frais Blitz + 0,1 %+ de frais de plateforme", "liquid": "Liquid <> BTC", "liquidFee": "0,5 % de frais Blitz + frais de réseau", + "roostock": "Rootstock <> BTC", + "rootstockFee": "0,1 % de frais Boltz + frais de réseau", "accumulationType": "Adresses d'accumulation", "accumulationFee": "0,5 % de frais Blitz + 0,5 % de frais de plateforme", "othersType": "Autres", diff --git a/locales/it/translation.json b/locales/it/translation.json index a558cd2b..e73cb830 100644 --- a/locales/it/translation.json +++ b/locales/it/translation.json @@ -1857,6 +1857,8 @@ "chainSwapFee": "0,5% commissione Blitz + 0,1%+ commissione piattaforma", "liquid": "Liquid <> BTC", "liquidFee": "0,5% commissione Blitz + commissioni di rete", + "roostock": "Rootstock <> BTC", + "roostockFee": "0,1% commissione Boltz + commissioni di rete", "accumulationType": "Indirizzi di accumulo", "accumulationFee": "0,5% commissione Blitz + 0,5% commissione piattaforma", "othersType": "Altro", diff --git a/locales/pt-BR/translation.json b/locales/pt-BR/translation.json index b5a230d1..e5ad56e3 100644 --- a/locales/pt-BR/translation.json +++ b/locales/pt-BR/translation.json @@ -1857,6 +1857,8 @@ "chainSwapFee": "0,5% de taxa da Blitz Wallet + 0,1%+ de taxa da Flashnet", "liquid": "Liquid <> BTC", "liquidFee": "0,5% de taxa da Blitz Wallet + taxas de rede", + "roostock": "Rootstock <> BTC", + "roostockFee": "0,1% de taxa da Boltz + taxas de rede", "accumulationType": "Conversão automática", "accumulationFee": "0,5% de taxa da Blitz Wallet + 0,5% de taxa da Flashnet", "othersType": "Outros", diff --git a/locales/ru/translation.json b/locales/ru/translation.json index 0b00cb7a..dec78a17 100644 --- a/locales/ru/translation.json +++ b/locales/ru/translation.json @@ -1858,6 +1858,8 @@ "chainSwapFee": "0,5% комиссия Blitz + 0,1%+ комиссия платформы", "liquid": "Liquid <> BTC", "liquidFee": "0,5% комиссия Blitz + сетевые комиссии", + "roostock": "Roostock <> BTC", + "roostockFee": "0,1% комиссия Boltz + сетевые комиссии", "accumulationType": "Адреса накопления", "accumulationFee": "0,5% комиссия Blitz + 0,5% комиссия платформы", "othersType": "Остальное", diff --git a/locales/sv/translation.json b/locales/sv/translation.json index 57812976..41b1bc25 100644 --- a/locales/sv/translation.json +++ b/locales/sv/translation.json @@ -1857,6 +1857,8 @@ "chainSwapFee": "0,5 % Blitz-avgift + 0,1 %+ plattformsavgift", "liquid": "Liquid <> BTC", "liquidFee": "0,5 % Blitz-avgift + nätverksavgifter", + "roostock": "Roostock <> BTC", + "roostockFee": "0,1 % Boltz-avgift + nätverksavgifter", "accumulationType": "Ackumuleringsadresser", "accumulationFee": "0,5 % Blitz-avgift + 0,5 % plattformsavgift", "othersType": "Övrigt",