mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
fix: Reset fallback sharing state
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
import '../../l10n/app_localizations.dart';
|
||||
import '../../services/traffic_stats_reporting_service.dart';
|
||||
|
||||
class TrafficStatsReportingSection extends StatelessWidget {
|
||||
@@ -18,7 +19,7 @@ class TrafficStatsReportingSection extends StatelessWidget {
|
||||
SwitchListTile(
|
||||
dense: true,
|
||||
secondary: const Icon(Icons.cloud_upload_outlined, size: 20),
|
||||
title: const Text('Anonymous RX stats'),
|
||||
title: Text(AppLocalizations.of(context)!.anonymousRxStats),
|
||||
subtitle: const Text(
|
||||
'Upload packet totals every 5 min',
|
||||
),
|
||||
@@ -43,7 +44,7 @@ class TrafficStatsReportingSection extends StatelessWidget {
|
||||
TextButton.icon(
|
||||
onPressed: _openStatsDashboard,
|
||||
icon: const Icon(Icons.open_in_new, size: 16),
|
||||
label: const Text('View'),
|
||||
label: Text(AppLocalizations.of(context)!.view),
|
||||
style: TextButton.styleFrom(
|
||||
visualDensity: VisualDensity.compact,
|
||||
textStyle: theme.textTheme.labelSmall,
|
||||
|
||||
Reference in New Issue
Block a user