🐛 Bug fixes

This commit is contained in:
2024-08-30 01:56:21 +08:00
parent be977f10d1
commit d25ebbf6bd
15 changed files with 616 additions and 2 deletions

View File

@ -0,0 +1,29 @@
import 'package:flutter/material.dart';
import 'package:rhythm_box/platform.dart';
class SystemShell extends StatelessWidget {
final Widget child;
const SystemShell({super.key, required this.child});
@override
Widget build(BuildContext context) {
if (PlatformInfo.isMacOS) {
return Column(
children: [
Container(
height: 28,
color: Theme.of(context).colorScheme.surface,
),
const Divider(
thickness: 0.3,
height: 0.3,
),
Expanded(child: child),
],
);
}
return child;
}
}