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