1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-01-21 23:30:55 +01:00

Move log statement into "if (DEBUG)"

This commit is contained in:
Xiang Rong Lin 2020-02-01 16:27:53 +01:00
parent b5ea61a079
commit 90c20f124b

View File

@ -291,8 +291,10 @@ public final class BookmarkFragment
return;
}
Log.d(TAG, "Updating playlist id=[" + id +
"] with new name=[" + name + "] items");
if (DEBUG) {
Log.d(TAG, "Updating playlist id=[" + id +
"] with new name=[" + name + "] items");
}
localPlaylistManager.renamePlaylist(id, name);
final Disposable disposable = localPlaylistManager.renamePlaylist(id, name)