[feat] New video UI& Basic Search feature

This commit is contained in:
acite
2025-09-16 18:23:45 +08:00
parent 829804abee
commit 2260f26d9a
4 changed files with 210 additions and 30 deletions

View File

@@ -7,6 +7,7 @@ import androidx.compose.runtime.State
import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateMapOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.snapshots.SnapshotStateList
import androidx.compose.ui.platform.LocalContext
import androidx.lifecycle.ViewModel
@@ -44,6 +45,8 @@ class VideoScreenViewModel @Inject constructor(
private val _tabIndex = mutableIntStateOf(0)
val tabIndex: State<Int> = _tabIndex
var imageLoader: ImageLoader? = null;
var menuVisibility = mutableStateOf(false)
var searchFilter = mutableStateOf("")
suspend fun init() {
fetchManager.configured.filter { it }.first()