Refactor project metadata and improve audio player bar responsiveness

This commit is contained in:
Leon Bösche
2026-01-31 21:56:10 +01:00
parent d1b2a25bf7
commit 80841e409f
3 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
# b0esche_cloud # b0esche_cloud
A new Flutter project. b0esche secure cloud

View File

@@ -179,10 +179,11 @@ class _AudioPlayerBarState extends State<AudioPlayerBar>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final double screenwidth = MediaQuery.of(context).size.width;
return AnimatedContainer( return AnimatedContainer(
duration: const Duration(milliseconds: 300), duration: const Duration(milliseconds: 300),
height: 48, height: 48,
width: MediaQuery.of(context).size.width * 0.2, width: screenwidth > 420 ? screenwidth * 0.2 : screenwidth * 0.85,
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 6), padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
decoration: AppTheme.glassDecoration.copyWith( decoration: AppTheme.glassDecoration.copyWith(
borderRadius: BorderRadius.circular(16), borderRadius: BorderRadius.circular(16),

View File

@@ -1,11 +1,11 @@
{ {
"name": "b0esche_cloud", "name": "b0esche.cloud",
"short_name": "b0esche_cloud", "short_name": "b0esche",
"start_url": ".", "start_url": ".",
"display": "standalone", "display": "standalone",
"background_color": "#0175C2", "background_color": "#0175C2",
"theme_color": "#0175C2", "theme_color": "#0175C2",
"description": "A new Flutter project.", "description": "b0esche secure cloud",
"orientation": "portrait-primary", "orientation": "portrait-primary",
"prefer_related_applications": false, "prefer_related_applications": false,
"icons": [ "icons": [