mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Move Parcelable inheritance
This commit is contained in:
@@ -22,7 +22,7 @@ package com.kunzisoft.keepass.database.element.icon
|
||||
import android.os.Parcel
|
||||
import android.os.Parcelable
|
||||
|
||||
class IconImage() : IconImageDraw(), Parcelable {
|
||||
class IconImage() : IconImageDraw() {
|
||||
|
||||
var standard: IconImageStandard = IconImageStandard()
|
||||
var custom: IconImageCustom = IconImageCustom()
|
||||
|
||||
@@ -25,7 +25,7 @@ import android.os.Parcelable
|
||||
import com.kunzisoft.keepass.database.element.database.DatabaseVersioned
|
||||
import java.util.*
|
||||
|
||||
class IconImageCustom : Parcelable, IconImageDraw {
|
||||
class IconImageCustom : IconImageDraw {
|
||||
|
||||
var uuid: UUID
|
||||
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
*/
|
||||
package com.kunzisoft.keepass.database.element.icon
|
||||
|
||||
abstract class IconImageDraw {
|
||||
import android.os.Parcelable
|
||||
|
||||
abstract class IconImageDraw : Parcelable {
|
||||
|
||||
var selected = false
|
||||
/**
|
||||
|
||||
@@ -23,7 +23,7 @@ import android.os.Parcel
|
||||
import android.os.Parcelable
|
||||
import com.kunzisoft.keepass.icons.IconPack.Companion.NB_ICONS
|
||||
|
||||
class IconImageStandard : Parcelable, IconImageDraw {
|
||||
class IconImageStandard : IconImageDraw {
|
||||
|
||||
val id: Int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user