mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-16 15:02:53 +00:00
Fixed spelling issue
This commit is contained in:
parent
9e57b57ddf
commit
077727c1be
9 changed files with 18 additions and 15 deletions
|
@ -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
|
||||
) ,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue