فهرست منبع

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

Khubaib 10 ماه پیش
والد
کامیت
44a1c87da8

+ 2 - 2
.idea/deploymentTargetSelector.xml

@@ -4,10 +4,10 @@
     <selectionStates>
       <SelectionState runConfigName="app">
         <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">
             <handle>
-              <DeviceId pluginId="LocalEmulator" identifier="path=/home/ubuntu/.android/avd/Television_1080p_API_31.avd" />
+              <DeviceId pluginId="PhysicalDevice" identifier="serial=1C051FDF60048Z" />
             </handle>
           </Target>
         </DropdownSelection>

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

@@ -807,6 +807,7 @@ fun ColumnScope.ShowSearchBar(
             Icon(
                 painter = painterResource(id = R.drawable.search3x),
                 contentDescription = "Search Icon",
+                tint = MaterialTheme.colorScheme.primary,
                 modifier = Modifier
                     .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) {
 //        splashViewModel.serverDataApi()

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

@@ -1310,7 +1310,7 @@ fun ColumnScope.ShowProtocolDialogTV(
                             }, 500)
                             Log.d("ServerCallbacks", "Yes click => ${isProtocolDialog.value}")
                             isProtocolDialog.value = false
-                            serverListViewModelSplash.setCountryData()
+                            serverListViewModelSplash.setCountryDataTV()
                         },
                         modifier = Modifier
                             .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) {
             delay(delay)
             if (isLoggedIn) {