Removing more warnings

This commit is contained in:
Vitor Pamplona
2026-04-06 09:27:37 -04:00
parent 014e08fa0d
commit 1d12ae36e5
2 changed files with 3 additions and 0 deletions
@@ -20,6 +20,7 @@
*/ */
package com.vitorpamplona.amethyst.ui.screen.loggedIn.bookmarkgroups.old package com.vitorpamplona.amethyst.ui.screen.loggedIn.bookmarkgroups.old
import android.annotation.SuppressLint
import android.widget.Toast import android.widget.Toast
import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Column
@@ -90,6 +91,7 @@ fun OldBookmarkListScreen(
RenderOldBookmarkScreen(publicFeedViewModel, privateFeedViewModel, accountViewModel, nav) RenderOldBookmarkScreen(publicFeedViewModel, privateFeedViewModel, accountViewModel, nav)
} }
@SuppressLint("LocalContextGetResourceValueCall")
@Composable @Composable
@OptIn(ExperimentalFoundationApi::class) @OptIn(ExperimentalFoundationApi::class)
private fun RenderOldBookmarkScreen( private fun RenderOldBookmarkScreen(
@@ -48,6 +48,7 @@ class OldBookmarkListState(
val cache: ICacheProvider, val cache: ICacheProvider,
val scope: CoroutineScope, val scope: CoroutineScope,
) { ) {
@Stable
class BookmarkList( class BookmarkList(
val public: List<Note> = emptyList(), val public: List<Note> = emptyList(),
val private: List<Note> = emptyList(), val private: List<Note> = emptyList(),