Fix offline symbol on AppBar

This commit is contained in:
2026-02-06 17:30:46 +01:00
parent a70c634d35
commit b62ed98375

View File

@@ -194,14 +194,17 @@ class _HomePageState extends State<HomePage> with RouteAware {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Sheetless'),
actions: [
if (!_isOnline)
const Padding(
padding: EdgeInsets.only(right: 8),
child: Icon(Icons.cloud_off, color: Colors.orange),
),
],
title: Row(
mainAxisSize: MainAxisSize.min,
children: [
const Text('Sheetless'),
if (!_isOnline)
const Padding(
padding: EdgeInsets.only(left: 8),
child: Icon(Icons.cloud_off, color: Colors.orange, size: 20),
),
],
),
),
endDrawer: AppDrawer(
isShuffling: _isShuffling,