From f99bb2a2c0ee0acde7fccd54c319084c095bc5a1 Mon Sep 17 00:00:00 2001 From: nift4 Date: Sat, 30 Nov 2024 14:29:51 +0100 Subject: [PATCH] remove debug --- .../akanework/gramophone/logic/utils/LastPlayedManager.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/kotlin/org/akanework/gramophone/logic/utils/LastPlayedManager.kt b/app/src/main/kotlin/org/akanework/gramophone/logic/utils/LastPlayedManager.kt index 5e125a564..ac4b3a5ac 100644 --- a/app/src/main/kotlin/org/akanework/gramophone/logic/utils/LastPlayedManager.kt +++ b/app/src/main/kotlin/org/akanework/gramophone/logic/utils/LastPlayedManager.kt @@ -173,7 +173,7 @@ class LastPlayedManager( throw e } try { - val lastPlayedLst = prefs.getStringSet("last_played_lst", null)?.map { it.toString() }?.toSet() + val lastPlayedLst = prefs.getStringSet("last_played_lst", null)?.toSet() val lastPlayedGrp = prefs.getString("last_played_grp", null) val lastPlayedIdx = prefs.getInt("last_played_idx", 0) val lastPlayedPos = prefs.getLong("last_played_pos", 0) @@ -378,8 +378,6 @@ private object PrefsListUtils { fun dump(inList: List): Pair, String> { val list = inList.map { it.trim() } - return Pair(list.toSet(), list.joinToString(",") { it.hashCode().toString() }).also { - Log.e("gramo", "save ${it.first.joinToString { it.hashCode().toString() }} with groups ${it.second}") - } + return Pair(list.toSet(), list.joinToString(",") { it.hashCode().toString() }) } } \ No newline at end of file