fix: code-review warnings — deprecated APIs, debugPrint→Logger, unused import
This commit is contained in:
@@ -233,7 +233,7 @@ class _PlaylistDetailState extends State<_PlaylistDetail> {
|
||||
? const Center(child: Text('Playlist ist leer', style: TextStyle(fontSize: 12, color: MeloTheme.textSekundaer)))
|
||||
: ReorderableListView.builder(
|
||||
itemCount: _songs.length,
|
||||
onReorder: (oldIndex, newIndex) async {
|
||||
onReorderItem: (oldIndex, newIndex) async {
|
||||
if (newIndex > oldIndex) newIndex--;
|
||||
setState(() {
|
||||
final moved = _songs.removeAt(oldIndex);
|
||||
|
||||
@@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import '../database/db_helper.dart';
|
||||
import '../models/tag.dart';
|
||||
import '../utils/farb_theme.dart';
|
||||
import '../services/melo_logger.dart';
|
||||
|
||||
|
||||
/// Dialog: Tags für einen Song zuweisen/entfernen
|
||||
class TagAuswahlDialog extends StatefulWidget {
|
||||
|
||||
Reference in New Issue
Block a user