1
0
Fork 0
mirror of https://github.com/jrpie/Launcher.git synced 2025-05-04 17:44:18 +02:00

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 { companion object {
fun byId(id: String): LauncherAction? { fun byId(id: String): LauncherAction? {
return LauncherAction.values().singleOrNull { it.id == id } return entries.singleOrNull { it.id == id }
} }
fun isOtherAction(id: String): Boolean { fun isOtherAction(id: String): Boolean {