Style fix

This commit is contained in:
tzugen 2021-10-12 14:53:55 +02:00
parent eff1a714e2
commit aea2e6baef
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930

View File

@ -107,7 +107,6 @@ class AlbumRowAdapter(
/**
* Handles the star / unstar action for an album
*/
@Suppress("TooGenericExceptionCaught")
private fun onStarClick(entry: MusicDirectory.Entry, star: ImageView) {
entry.starred = !entry.starred
star.setImageDrawable(if (entry.starred) starDrawable else starHollowDrawable)
@ -128,8 +127,8 @@ class AlbumRowAdapter(
null
)
}
} catch (exception: Exception) {
Timber.e(exception)
} catch (all: Exception) {
Timber.e(all)
}
}.start()
}