mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-02-01 09:56:47 +01:00
compare AppLaunchers by package name
This commit is contained in:
parent
2ca2cec35b
commit
cf0405b9c5
@ -1,3 +1,7 @@
|
|||||||
package com.simplemobiletools.applauncher.models
|
package com.simplemobiletools.applauncher.models
|
||||||
|
|
||||||
data class AppLauncher(val name: String, val pkgName: String, val iconId: Int)
|
data class AppLauncher(val name: String, val pkgName: String, val iconId: Int) {
|
||||||
|
override fun equals(other: Any?): Boolean {
|
||||||
|
return pkgName.equals((other as AppLauncher).pkgName)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user