@@ -63,14 +63,8 @@ public bool AutoUpdates
63
63
64
64
public bool AutoHideScrollBar
65
65
{
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 ;
74
68
}
75
69
76
70
// 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
150
144
151
145
public bool ShouldUsePinyin
152
146
{
153
- get
147
+ get
154
148
{
155
- return Settings . ShouldUsePinyin ;
149
+ return Settings . ShouldUsePinyin ;
156
150
}
157
- set
151
+ set
158
152
{
159
153
Settings . ShouldUsePinyin = value ;
160
154
}
@@ -193,7 +187,7 @@ public string TestProxy()
193
187
}
194
188
195
189
HttpWebRequest request = ( HttpWebRequest ) WebRequest . Create ( _updater . GitHubRepository ) ;
196
-
190
+
197
191
if ( string . IsNullOrEmpty ( proxyUserName ) || string . IsNullOrEmpty ( Settings . Proxy . Password ) )
198
192
{
199
193
request . Proxy = new WebProxy ( proxyServer , Settings . Proxy . Port ) ;
@@ -237,7 +231,7 @@ public IList<PluginViewModel> PluginViewModels
237
231
var metadatas = PluginManager . AllPlugins
238
232
. OrderBy ( x => x . Metadata . Disabled )
239
233
. ThenBy ( y => y . Metadata . Name )
240
- . Select ( p => new PluginViewModel { PluginPair = p } )
234
+ . Select ( p => new PluginViewModel { PluginPair = p } )
241
235
. ToList ( ) ;
242
236
return metadatas ;
243
237
}
@@ -465,7 +459,7 @@ public FamilyTypeface SelectedResultFontFaces
465
459
#region about
466
460
467
461
public string Website => Constant . Website ;
468
- public string ReleaseNotes => _updater . GitHubRepository + @"/releases/latest" ;
462
+ public string ReleaseNotes => _updater . GitHubRepository + @"/releases/latest" ;
469
463
public string Documentation => Constant . Documentation ;
470
464
public static string Version => Constant . Version ;
471
465
public string ActivatedTimes => string . Format ( _translater . GetTranslation ( "about_activate_times" ) , Settings . ActivateTimes ) ;
0 commit comments