From 70da36d468decb700b2b2c8e7204bbe1bf803fa7 Mon Sep 17 00:00:00 2001 From: Valeri Gokadze Date: Fri, 31 May 2024 12:07:55 +0400 Subject: [PATCH] Fix: Fixed missing action buttons for song bar --- lib/widgets/like_button.dart | 21 +++++++++++++++++++++ lib/widgets/song_bar.dart | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/lib/widgets/like_button.dart b/lib/widgets/like_button.dart index a86a58b7..12a9a79f 100644 --- a/lib/widgets/like_button.dart +++ b/lib/widgets/like_button.dart @@ -1,3 +1,24 @@ +/* + * Copyright (C) 2024 Valeri Gokadze + * + * Musify is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Musify is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * + * For more information about Musify, including how to contribute, + * please visit: https://github.com/gokadzev/Musify + */ + import 'package:fluentui_system_icons/fluentui_system_icons.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/song_bar.dart b/lib/widgets/song_bar.dart index 6f78c960..93125556 100644 --- a/lib/widgets/song_bar.dart +++ b/lib/widgets/song_bar.dart @@ -169,7 +169,7 @@ class SongBar extends StatelessWidget { return Row( mainAxisSize: MainAxisSize.min, children: [ - if (offlineMode.value) + if (!offlineMode.value) Row( children: [ ValueListenableBuilder(