Jelajahi Sumber

Set tint color of search icon and drag handle for appearance, called setCountryData() when switch protocol when connected, increased some delay on splash

Khubaib 8 bulan lalu
induk
melakukan
44a1c87da8

+ 2 - 2
.idea/deploymentTargetSelector.xml

@@ -4,10 +4,10 @@
     <selectionStates>
     <selectionStates>
       <SelectionState runConfigName="app">
       <SelectionState runConfigName="app">
         <option name="selectionMode" value="DROPDOWN" />
         <option name="selectionMode" value="DROPDOWN" />
-        <DropdownSelection timestamp="2024-08-20T15:30:26.598679158Z">
+        <DropdownSelection timestamp="2024-08-22T09:54:57.144906649Z">
           <Target type="DEFAULT_BOOT">
           <Target type="DEFAULT_BOOT">
             <handle>
             <handle>
-              <DeviceId pluginId="LocalEmulator" identifier="path=/home/ubuntu/.android/avd/Television_1080p_API_31.avd" />
+              <DeviceId pluginId="PhysicalDevice" identifier="serial=1C051FDF60048Z" />
             </handle>
             </handle>
           </Target>
           </Target>
         </DropdownSelection>
         </DropdownSelection>

+ 1 - 0
app/src/main/java/com/vpn/fastestvpnservice/screens/ServerListScreen.kt

@@ -807,6 +807,7 @@ fun ColumnScope.ShowSearchBar(
             Icon(
             Icon(
                 painter = painterResource(id = R.drawable.search3x),
                 painter = painterResource(id = R.drawable.search3x),
                 contentDescription = "Search Icon",
                 contentDescription = "Search Icon",
+                tint = MaterialTheme.colorScheme.primary,
                 modifier = Modifier
                 modifier = Modifier
                     .size(21.dp)
                     .size(21.dp)
             )
             )

+ 1 - 1
app/src/main/java/com/vpn/fastestvpnservice/screens/SplashScreen.kt

@@ -127,7 +127,7 @@ fun Splash(navHostController: NavHostController) {
 //        }
 //        }
 
 
     }
     }
-    val delay: Long = if (isLoggedIn) 1000 else 2000
+    val delay: Long = if (isLoggedIn) 2000 else 2000
 
 
     LaunchedEffect(key1 = true) {
     LaunchedEffect(key1 = true) {
 //        splashViewModel.serverDataApi()
 //        splashViewModel.serverDataApi()

+ 1 - 1
app/src/main/java/com/vpn/fastestvpnservice/screensTV/HomeScreenTV.kt

@@ -1310,7 +1310,7 @@ fun ColumnScope.ShowProtocolDialogTV(
                             }, 500)
                             }, 500)
                             Log.d("ServerCallbacks", "Yes click => ${isProtocolDialog.value}")
                             Log.d("ServerCallbacks", "Yes click => ${isProtocolDialog.value}")
                             isProtocolDialog.value = false
                             isProtocolDialog.value = false
-                            serverListViewModelSplash.setCountryData()
+                            serverListViewModelSplash.setCountryDataTV()
                         },
                         },
                         modifier = Modifier
                         modifier = Modifier
                             .padding(
                             .padding(

+ 1 - 1
app/src/main/java/com/vpn/fastestvpnservice/screensTV/SplashScreenTV.kt

@@ -102,7 +102,7 @@ fun SplashTV(navHostController: NavHostController) {
             }
             }
         }
         }
 
 
-        val delay: Long = if (isLoggedIn) 1000 else 2000
+        val delay: Long = if (isLoggedIn) 2000 else 2000
         LaunchedEffect(key1 = true) {
         LaunchedEffect(key1 = true) {
             delay(delay)
             delay(delay)
             if (isLoggedIn) {
             if (isLoggedIn) {