mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	Fix stying.
This commit is contained in:
		@@ -111,7 +111,7 @@ class ServerManagerView {
 | 
				
			|||||||
			materialIcon: 'settings',
 | 
								materialIcon: 'settings',
 | 
				
			||||||
			url: `file://${__dirname}/preference.html#${nav}`
 | 
								url: `file://${__dirname}/preference.html#${nav}`
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
		this.tabs[this.functionalTabs['Settings']].webview.send('switch-settings-nav', nav);		
 | 
							this.tabs[this.functionalTabs.Settings].webview.send('switch-settings-nav', nav);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	openAbout() {
 | 
						openAbout() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,7 +28,7 @@ class PreferenceView extends BaseComponent {
 | 
				
			|||||||
	setDefaultView() {
 | 
						setDefaultView() {
 | 
				
			||||||
		let nav = 'General';
 | 
							let nav = 'General';
 | 
				
			||||||
		const hasTag = window.location.hash;
 | 
							const hasTag = window.location.hash;
 | 
				
			||||||
		if(hasTag) {
 | 
							if (hasTag) {
 | 
				
			||||||
			nav = hasTag.substring(1);
 | 
								nav = hasTag.substring(1);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		this.handleNavigation(nav);
 | 
							this.handleNavigation(nav);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user