diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/models/AppLauncher.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/models/AppLauncher.kt index a833430..2f858cd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/models/AppLauncher.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/models/AppLauncher.kt @@ -1,3 +1,7 @@ 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) + } +}