|
@@ -3,6 +3,8 @@ package com.vpn.fastestvpnservice.screensTV.settingsScreenAll
|
|
|
import android.util.Log
|
|
|
import android.widget.Toast
|
|
|
import androidx.compose.foundation.background
|
|
|
+import androidx.compose.foundation.clickable
|
|
|
+import androidx.compose.foundation.focusable
|
|
|
import androidx.compose.foundation.layout.Box
|
|
|
import androidx.compose.foundation.layout.Column
|
|
|
import androidx.compose.foundation.layout.fillMaxSize
|
|
@@ -49,10 +51,10 @@ import kotlinx.coroutines.launch
|
|
|
@Composable
|
|
|
fun AnySpecificScreenTV(navHostController: NavHostController) {
|
|
|
val context = LocalContext.current
|
|
|
-// val searchListViewModel = searchListViewModelSplash
|
|
|
-// var searchText1 by remember { mutableStateOf("") }
|
|
|
-// val isActive = searchListViewModel.isActive.observeAsState().value
|
|
|
-// val scope = rememberCoroutineScope()
|
|
|
+ val searchListViewModel = searchListViewModelSplash
|
|
|
+ var searchText1 by remember { mutableStateOf("Test") }
|
|
|
+ val isActive = searchListViewModel.isActive.observeAsState().value
|
|
|
+ val scope = rememberCoroutineScope()
|
|
|
|
|
|
Box(
|
|
|
modifier = Modifier
|
|
@@ -69,9 +71,6 @@ fun AnySpecificScreenTV(navHostController: NavHostController) {
|
|
|
// query = searchText1,
|
|
|
// onQueryChange = {
|
|
|
// searchText1 = it
|
|
|
-//// scope.launch {
|
|
|
-//// searchListViewModel.searchTextChange(it)
|
|
|
-//// }
|
|
|
// },
|
|
|
// onSearch = {
|
|
|
// scope.launch {
|
|
@@ -96,14 +95,13 @@ fun AnySpecificScreenTV(navHostController: NavHostController) {
|
|
|
// Icon(
|
|
|
// painter = painterResource(id = R.drawable.search3x),
|
|
|
// contentDescription = "Search Icon",
|
|
|
-//
|
|
|
// modifier = Modifier
|
|
|
// .size(21.dp)
|
|
|
// )
|
|
|
// },
|
|
|
// colors = SearchBarDefaults.colors(
|
|
|
-// containerColor = colorResource(id = R.color.white),
|
|
|
-// dividerColor = Color.Transparent,
|
|
|
+// containerColor = colorResource(id = R.color.dark_blue_gray_text),
|
|
|
+// dividerColor = Color.LightGray,
|
|
|
// inputFieldColors = TextFieldDefaults.colors(
|
|
|
// focusedTextColor = colorResource(id = R.color.dark_blue_gray_text),
|
|
|
// unfocusedTextColor = colorResource(id = R.color.dark_blue_gray_text),
|
|
@@ -118,7 +116,7 @@ fun AnySpecificScreenTV(navHostController: NavHostController) {
|
|
|
// .height(50.dp)
|
|
|
// .padding(horizontal = 10.dp)
|
|
|
// .padding(top = 60.dp)
|
|
|
-// .background(Color.Transparent)
|
|
|
+// .background(Color.Black)
|
|
|
// ) {}
|
|
|
|
|
|
val listAll = serverListViewModelSplash.liveDataAllServers.observeAsState().value
|