Skip to content

Commit

Permalink
add fav error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandhuA committed Nov 12, 2024
1 parent 3371487 commit 75e8c5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/presentation/commanWidgets/popup_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 3,12 @@ import 'package:flutter/material.dart';
import 'package:musiq/core/colors.dart';
import 'package:musiq/core/global_variables.dart';
import 'package:musiq/core/helper_funtions.dart';
import 'package:musiq/presentation/commanWidgets/favorite_icon.dart';
import 'package:musiq/presentation/commanWidgets/snack_bar.dart';


class SongPopupMenu extends StatelessWidget {
final dynamic song; // Use your actual song type here
final dynamic song;
final BuildContext context;

const SongPopupMenu({
Expand Down Expand Up @@ -66,7 67,7 @@ class SongPopupMenu extends StatelessWidget {
value: 1,
child: Row(
children: [
Icon(Icons.favorite), // Use your favorite icon
FavoriteIcon(song: song),
const Text("Favorite"),
],
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 25,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
String version = "";
@override
void initState() {
getVersion();
super.initState();
}

Expand Down

0 comments on commit 75e8c5c

Please sign in to comment.