all: cleanup

This commit is contained in:
Alexander Capehart
2023-11-11 23:22:46 -07:00
parent ce5b9e35c7
commit d926e19819
6 changed files with 6 additions and 6 deletions
@@ -106,7 +106,6 @@ class QueueViewModel @Inject constructor(private val playbackManager: PlaybackSt
*
* @param adapterIndex The index of the queue item to play. Does nothing if the index is out of
* range.
* @param playIfPaused Start playing after switching even if it currently is paused
*/
fun goto(adapterIndex: Int) {
if (adapterIndex !in queue.value.indices) {
@@ -26,14 +26,14 @@ import timber.log.Timber
*
* @param obj The object to log.
*/
inline fun Any.logD(obj: Any?) = logD("$obj")
inline fun logD(obj: Any?) = logD("$obj")
/**
* Log a string message to the debug channel. Automatically handles tags.
*
* @param msg The message to log.
*/
inline fun Any.logD(msg: String) {
inline fun logD(msg: String) {
if (BuildConfig.DEBUG && !copyleftNotice()) {
Timber.d(msg)
}