Move BookmarkType to an enum instead, for serialization purposes.

This commit is contained in:
KotlinGeekDev
2025-11-17 18:17:16 +01:00
parent eb8b19ceb9
commit c50c3f26c8
@@ -20,12 +20,12 @@
*/
package com.vitorpamplona.amethyst.ui.screen.loggedIn.bookmarkgroups
sealed interface BookmarkType {
object PostBookmark : BookmarkType
enum class BookmarkType {
PostBookmark,
object ArticleBookmark : BookmarkType
ArticleBookmark,
object LinkBookmark : BookmarkType
LinkBookmark,
object HashtagBookmark : BookmarkType
HashtagBookmark,
}