mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-25 05:10:55 +03:00
Style fix
This commit is contained in:
parent
eff1a714e2
commit
aea2e6baef
@ -107,7 +107,6 @@ class AlbumRowAdapter(
|
|||||||
/**
|
/**
|
||||||
* Handles the star / unstar action for an album
|
* Handles the star / unstar action for an album
|
||||||
*/
|
*/
|
||||||
@Suppress("TooGenericExceptionCaught")
|
|
||||||
private fun onStarClick(entry: MusicDirectory.Entry, star: ImageView) {
|
private fun onStarClick(entry: MusicDirectory.Entry, star: ImageView) {
|
||||||
entry.starred = !entry.starred
|
entry.starred = !entry.starred
|
||||||
star.setImageDrawable(if (entry.starred) starDrawable else starHollowDrawable)
|
star.setImageDrawable(if (entry.starred) starDrawable else starHollowDrawable)
|
||||||
@ -128,8 +127,8 @@ class AlbumRowAdapter(
|
|||||||
null
|
null
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} catch (exception: Exception) {
|
} catch (all: Exception) {
|
||||||
Timber.e(exception)
|
Timber.e(all)
|
||||||
}
|
}
|
||||||
}.start()
|
}.start()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user