code cleanup

This commit is contained in:
Josia Pietsch 2024-11-02 13:48:37 +01:00
parent c1650fab84
commit 55b48779cf
Signed by: jrpie
GPG key ID: E70B571D66986A2D

View file

@ -108,7 +108,7 @@ enum class LauncherAction(
companion object {
fun byId(id: String): LauncherAction? {
return LauncherAction.values().singleOrNull { it.id == id }
return entries.singleOrNull { it.id == id }
}
fun isOtherAction(id: String): Boolean {