Feature: Lock Single Tag for Favorites Widget (#1355)
* single tag for favorites * fixing * don't need this one * cleanup * new features - select for favorites/tags customization * bug fix for tags * bug fix to show pinned tags * make sure pinned tag works on load * better way to work with viewmodel (learning as i go) * back to working state.. can be improved * adding some comments * cleanup --------- Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
This commit is contained in:
@@ -2,15 +2,16 @@ package de.mm20.launcher2.widgets
|
||||
|
||||
import de.mm20.launcher2.database.entities.PartialWidgetEntity
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.encodeToString
|
||||
import kotlinx.serialization.json.Json
|
||||
import java.util.UUID
|
||||
|
||||
@Serializable
|
||||
data class FavoritesWidgetConfig(
|
||||
val customTags: Boolean = false,
|
||||
val editButton: Boolean = true,
|
||||
val tagsMultiline: Boolean = false,
|
||||
val compactTags: Boolean = false,
|
||||
val tagList: List<String> = emptyList()
|
||||
)
|
||||
|
||||
data class FavoritesWidget(
|
||||
|
||||
Reference in New Issue
Block a user