Removing more warnings
This commit is contained in:
+2
@@ -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(
|
||||||
|
|||||||
+1
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user