Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 committed Nov 30, 2024
1 parent 1805da6 commit f99bb2a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -378,8 +378,6 @@ private object PrefsListUtils {

fun dump(inList: List<String>): Pair<Set<String>, 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() })
}
}

0 comments on commit f99bb2a

Please sign in to comment.