updated ui to check key value
This commit is contained in:
		
							parent
							
								
									233305ee01
								
							
						
					
					
						commit
						9cf81d2032
					
				| @ -243,7 +243,12 @@ pub fn set_peer_option(id: String, name: String, value: String) { | |||||||
| 
 | 
 | ||||||
| #[inline] | #[inline] | ||||||
| pub fn using_public_server() -> bool { | pub fn using_public_server() -> bool { | ||||||
|  |     if hbb_common::config::RS_PUB_KEY == "OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=" { | ||||||
|     crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty() |     crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty() | ||||||
|  |         return true | ||||||
|  |     } else { | ||||||
|  |         return false | ||||||
|  |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #[inline] | #[inline] | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user