all: cleanup
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user