Fixed spelling issue

This commit is contained in:
Juan Gilsanz Polo 2023-10-15 23:47:42 +02:00
parent 9e57b57ddf
commit 077727c1be
9 changed files with 18 additions and 15 deletions

View file

@ -79,13 +79,13 @@ class CombinedHomeChart extends StatelessWidget {
replacedSafeBrowsing: appConfigProvider.hideZeroValues == true
? removeZero(statusProvider.serverStatus!.stats.replacedSafebrowsing) != null
? CombinedChartItem(
label: AppLocalizations.of(context)!.malwarePhisingBlocked,
label: AppLocalizations.of(context)!.malwarePhishingBlocked,
color: Colors.green,
data: statusProvider.serverStatus!.stats.replacedSafebrowsing
)
: null
: CombinedChartItem(
label: AppLocalizations.of(context)!.malwarePhisingBlocked,
label: AppLocalizations.of(context)!.malwarePhishingBlocked,
color: Colors.green,
data: statusProvider.serverStatus!.stats.replacedSafebrowsing
) ,

View file

@ -149,7 +149,7 @@ class _HomeState extends State<Home> {
widthFactor: width > 700 ? 0.5 : 1,
child: HomeChart(
data: statusProvider.serverStatus!.stats.replacedSafebrowsing,
label: AppLocalizations.of(context)!.malwarePhisingBlocked,
label: AppLocalizations.of(context)!.malwarePhishingBlocked,
primaryValue: intFormat(statusProvider.serverStatus!.stats.numReplacedSafebrowsing, Platform.localeName),
secondaryValue: "${statusProvider.serverStatus!.stats.numDnsQueries > 0 ? doubleFormat((statusProvider.serverStatus!.stats.numReplacedSafebrowsing/statusProvider.serverStatus!.stats.numDnsQueries)*100, Platform.localeName) : 0}%",
color: Colors.green,