Merge pull request #709 from celsoazevedo/progress-bars
Progress bars: one shared 4px top bar in the theme colour
This commit is contained in:
7 files changed
+112
-48
No files matched your search
@@ -21,6 +21,7 @@ import '../widgets/app_bar.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/path_map_scaffold.dart';
|
||||
import '../widgets/quick_switch_bar.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
import '../icons/los_icon.dart';
|
||||
import '../theme/mesh_theme.dart';
|
||||
|
||||
@@ -440,10 +441,7 @@ class _LineOfSightMapScreenState extends State<LineOfSightMapScreen> {
|
||||
left: 0,
|
||||
right: 0,
|
||||
top: 0,
|
||||
child: LinearProgressIndicator(
|
||||
color: LosPalette.selected,
|
||||
backgroundColor: LosPalette.chartBackground,
|
||||
),
|
||||
child: const MeshProgressBar(),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -17,6 +17,7 @@ import '../widgets/mesh_nav_tile.dart';
|
||||
import '../widgets/mesh_ui.dart';
|
||||
import '../widgets/radio_disconnected_banner.dart';
|
||||
import '../widgets/routing_sheet.dart';
|
||||
import '../widgets/sync_progress_overlay.dart';
|
||||
import '../utils/keys.dart';
|
||||
import '../helpers/snack_bar_builder.dart';
|
||||
|
||||
@@ -889,12 +890,10 @@ class _RepeaterSettingsScreenState extends State<RepeaterSettingsScreen> {
|
||||
label: Text(l10n.common_save),
|
||||
),
|
||||
],
|
||||
bottom: _loadingAll
|
||||
? PreferredSize(
|
||||
preferredSize: const Size.fromHeight(4),
|
||||
child: LinearProgressIndicator(value: _loadAllProgress),
|
||||
)
|
||||
: null,
|
||||
bottom: MeshProgressAppBarBottom(
|
||||
active: _loadingAll,
|
||||
value: _loadAllProgress,
|
||||
),
|
||||
),
|
||||
body: MeshSettingsTileTheme(
|
||||
child: SafeArea(
|
||||
|
||||
Reference in new issue
Block a user