Browse Source

remove expanded icon from split tunnel row..

Khubaib 1 year ago
parent
commit
55098c1499

+ 1 - 14
.idea/deploymentTargetDropDown.xml

@@ -6,20 +6,7 @@
         <State />
       </entry>
       <entry key="app">
-        <State>
-          <runningDeviceTargetSelectedWithDropDown>
-            <Target>
-              <type value="RUNNING_DEVICE_TARGET" />
-              <deviceKey>
-                <Key>
-                  <type value="SERIAL_NUMBER" />
-                  <value value="1C051FDF60048Z" />
-                </Key>
-              </deviceKey>
-            </Target>
-          </runningDeviceTargetSelectedWithDropDown>
-          <timeTargetWasSelectedWithDropDown value="2024-03-07T16:00:49.568400127Z" />
-        </State>
+        <State />
       </entry>
     </value>
   </component>

+ 19 - 20
app/src/main/java/com/vpn/fastestvpnservice/screens/settingsScreenAll/SplitTunneling.kt

@@ -101,28 +101,27 @@ fun SplitTunneling(navHostController: NavHostController) {
                         color = MaterialTheme.colorScheme.primary
                     ),
                     )
-                IconButton(onClick = {
-                    isExpanded = !isExpanded
-                },
-                    modifier = Modifier
-                        .background(Color.Transparent)
-//                        .rotate(rotationState)
-                        .size(12.dp, 7.dp)
-                ) {
-                    Icon(
-                        painter = painterResource(
-                            id = icon),
-                        contentDescription = "Arrow-DropDown",
-                        tint = MaterialTheme.colorScheme.primary
-                    )
-
-                }
+//                IconButton(onClick = {
+//                    isExpanded = !isExpanded
+//                },
+//                    modifier = Modifier
+//                        .background(Color.Transparent)
+////                        .rotate(rotationState)
+//                        .size(12.dp, 7.dp)
+//                ) {
+//                    Icon(
+//                        painter = painterResource(
+//                            id = icon),
+//                        contentDescription = "Arrow-DropDown",
+//                        tint = MaterialTheme.colorScheme.primary
+//                    )
+//
+//                }
             }
 
-            if (isExpanded)
-            {
-                ShowRadioButtons()
-            }
+//            if (isExpanded) { }
+            ShowRadioButtons()
+
         }
     }
 }