| 
					
				 | 
			
			
				@@ -91,6 +91,7 @@ import androidx.navigation.compose.rememberNavController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.vpn.fastestvpnservice.R 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.vpn.fastestvpnservice.beans.Server 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.vpn.fastestvpnservice.beans.filterList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.vpn.fastestvpnservice.beans.isDarkTheme 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.vpn.fastestvpnservice.beans.themesList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.vpn.fastestvpnservice.constants.smartConnect 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.vpn.fastestvpnservice.helpers.BasePreferenceHelper 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -127,7 +128,7 @@ fun SignUp(navHostController: NavHostController) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Box( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 modifier = Modifier 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     .paint( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        painter = painterResource(id = R.drawable.bg_img3), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        painter = painterResource(id = if (isDarkTheme.value) R.drawable.bg_app else R.drawable.bg_img3), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         contentScale = ContentScale.FillBounds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     .alpha(if (isSignUpEnabled!!) 0.6F else 1F) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -286,7 +287,7 @@ fun SignUp(navHostController: NavHostController) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     val colorPass = if (showErrorPass1 || showErrorPass2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         colorResource(id = R.color.red) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        colorResource(id = R.color.grey_password_field) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        MaterialTheme.colorScheme.secondaryContainer 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     TextField( 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -331,8 +332,8 @@ fun SignUp(navHostController: NavHostController) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         maxLines = 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         colors = TextFieldDefaults.colors( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             focusedLabelColor = Color.Blue, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            unfocusedContainerColor = colorResource(id = R.color.grey_password_field), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            focusedContainerColor = colorResource(id = R.color.grey_password_field), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            unfocusedContainerColor = MaterialTheme.colorScheme.secondaryContainer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            focusedContainerColor = MaterialTheme.colorScheme.secondaryContainer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             focusedIndicatorColor = colorResource(id = R.color.transparent), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             disabledIndicatorColor = colorResource(id = R.color.transparent), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             unfocusedIndicatorColor = colorResource(id = R.color.transparent), 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -666,8 +667,8 @@ fun BoxScope.SignUpButton( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         shape = RoundedCornerShape(15.dp), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //            border = BorderStroke(25.dp, colorResource(id = R.color.black)), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         colors = ButtonDefaults.buttonColors( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            contentColor = colorResource(id = R.color.light_blue), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            containerColor = colorResource(id = R.color.white), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            contentColor = MaterialTheme.colorScheme.primaryContainer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            containerColor = MaterialTheme.colorScheme.onSecondaryContainer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -712,7 +713,7 @@ fun BoxScope.SignUpButton( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     prefHelper.saveAvailableProtocols(it.available_protocols) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     prefHelper.saveXPlatformToken(it.userinfo?.email + "_" + System.currentTimeMillis()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     prefHelper.saveAdBlockState(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    prefHelper.saveTheme(themesList[0]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//                    prefHelper.saveTheme(themesList[0]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     prefHelper.saveFilterList(filterList[0]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     prefHelper.saveSmartList(smartConnect[0]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |