@@ -63,14 +63,8 @@ public bool AutoUpdates
6363
6464 public bool AutoHideScrollBar
6565 {
66- get
67- {
68- return Settings . AutoHideScrollBar ;
69- }
70- set
71- {
72- Settings . AutoHideScrollBar = value ;
73- }
66+ get => Settings . AutoHideScrollBar ;
67+ set => Settings . AutoHideScrollBar = value ;
7468 }
7569
7670 // This is only required to set at startup. When portable mode enabled/disabled a restart is always required
@@ -150,11 +144,11 @@ public string Language
150144
151145 public bool ShouldUsePinyin
152146 {
153- get
147+ get
154148 {
155- return Settings . ShouldUsePinyin ;
149+ return Settings . ShouldUsePinyin ;
156150 }
157- set
151+ set
158152 {
159153 Settings . ShouldUsePinyin = value ;
160154 }
@@ -193,7 +187,7 @@ public string TestProxy()
193187 }
194188
195189 HttpWebRequest request = ( HttpWebRequest ) WebRequest . Create ( _updater . GitHubRepository ) ;
196-
190+
197191 if ( string . IsNullOrEmpty ( proxyUserName ) || string . IsNullOrEmpty ( Settings . Proxy . Password ) )
198192 {
199193 request . Proxy = new WebProxy ( proxyServer , Settings . Proxy . Port ) ;
@@ -237,7 +231,7 @@ public IList<PluginViewModel> PluginViewModels
237231 var metadatas = PluginManager . AllPlugins
238232 . OrderBy ( x => x . Metadata . Disabled )
239233 . ThenBy ( y => y . Metadata . Name )
240- . Select ( p => new PluginViewModel { PluginPair = p } )
234+ . Select ( p => new PluginViewModel { PluginPair = p } )
241235 . ToList ( ) ;
242236 return metadatas ;
243237 }
@@ -465,7 +459,7 @@ public FamilyTypeface SelectedResultFontFaces
465459 #region about
466460
467461 public string Website => Constant . Website ;
468- public string ReleaseNotes => _updater . GitHubRepository + @"/releases/latest" ;
462+ public string ReleaseNotes => _updater . GitHubRepository + @"/releases/latest" ;
469463 public string Documentation => Constant . Documentation ;
470464 public static string Version => Constant . Version ;
471465 public string ActivatedTimes => string . Format ( _translater . GetTranslation ( "about_activate_times" ) , Settings . ActivateTimes ) ;
0 commit comments