mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-06-05 21:49:21 +02:00
compare AppLaunchers by package name
This commit is contained in:
@ -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)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user