File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 <UseWPF >true</UseWPF >
77 <ApplicationIcon >ArduinoTwitch.ico</ApplicationIcon >
88 <AssemblyName >ArduinoTwitchBot</AssemblyName >
9+ <AssemblyVersion >1.1.0.0</AssemblyVersion >
10+ <FileVersion >1.1.0.0</FileVersion >
911 </PropertyGroup >
1012
1113 <ItemGroup >
2931 <None Update =" Properties\Settings.settings" >
3032 <Generator >SettingsSingleFileGenerator</Generator >
3133 <LastGenOutput >Settings.Designer.cs</LastGenOutput >
34+ <CopyToOutputDirectory >Never</CopyToOutputDirectory >
3235 </None >
3336 </ItemGroup >
3437
Original file line number Diff line number Diff line change 88 <Setting Name =" ClientId" Type =" System.String" Scope =" User" >
99 <Value Profile =" (Default)" />
1010 </Setting >
11+ <Setting Name =" AccessToken" Type =" System.String" Scope =" User" >
12+ <Value Profile =" (Default)" />
13+ </Setting >
1114 <Setting Name =" ChannelName" Type =" System.String" Scope =" User" >
1215 <Value Profile =" (Default)" />
1316 </Setting >
17+ <Setting Name =" IsDarkTheme" Type =" System.Boolean" Scope =" User" >
18+ <Value Profile =" (Default)" >False</Value >
19+ </Setting >
1420 <Setting Name =" FollowAlert" Type =" System.Boolean" Scope =" User" >
1521 <Value Profile =" (Default)" >False</Value >
1622 </Setting >
6571 <Setting Name =" EmoteAlertType" Type =" System.String" Scope =" User" >
6672 <Value Profile =" (Default)" />
6773 </Setting >
68- <Setting Name =" AccessToken" Type =" System.String" Scope =" User" >
69- <Value Profile =" (Default)" />
70- </Setting >
71- <Setting Name =" IsDarkTheme" Type =" System.Boolean" Scope =" User" >
72- <Value Profile =" (Default)" >False</Value >
73- </Setting >
7474 </Settings >
7575</SettingsFile >
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public static void SaveUserSettings()
8383 }
8484 catch ( Exception ex )
8585 {
86- throw ex ;
86+ throw ;
8787 }
8888 finally
8989 {
@@ -97,7 +97,7 @@ public static void LoadUserSettings()
9797 try
9898 {
9999 // Check if properties exist.
100- PortName = Properties . Settings . Default [ " PortName" ] . ToString ( ) ;
100+ PortName = Properties . Settings . Default . PortName . ToString ( ) ;
101101 ClientId = Properties . Settings . Default [ "ClientId" ] . ToString ( ) ;
102102 AccessToken = Properties . Settings . Default [ "AccessToken" ] . ToString ( ) ;
103103 ChannelName = Properties . Settings . Default [ "ChannelName" ] . ToString ( ) ;
You can’t perform that action at this time.
0 commit comments