From e0aea2fedfa1b5bd8b936a287eff938cf6d1ba9a Mon Sep 17 00:00:00 2001 From: Lokesh Gidra Date: Thu, 9 Nov 2023 17:26:36 +0800 Subject: [PATCH] Convert GalleryTagGroup to data class Generate equals method for compose --- .../com/hippo/ehviewer/client/data/GalleryTagGroup.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryTagGroup.kt b/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryTagGroup.kt index 51d9dfa26..8cee30391 100644 --- a/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryTagGroup.kt +++ b/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryTagGroup.kt @@ -19,7 +19,7 @@ import android.os.Parcelable import kotlinx.parcelize.Parcelize @Parcelize -class GalleryTagGroup( +data class GalleryTagGroup( val groupName: String, - private val mTagList: MutableList = mutableListOf(), -) : Parcelable, MutableList by mTagList + private val tagList: MutableList = mutableListOf(), +) : Parcelable, MutableList by tagList