Skip to content

Commit 168eebe

Browse files
committed
Revert a few changes (#3641)
1 parent 2ce2851 commit 168eebe

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

ILSpy/AboutPage.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ private void Display(DecompilerTextView textView)
9494
};
9595

9696
var settings = settingsService.GetSettings<UpdateSettings>();
97-
#if CROSS_PLATFORM
98-
checkBox.Bind(ToggleButton.IsCheckedProperty, new Binding("AutomaticUpdateCheckEnabled") { Source = settings });
99-
#else
10097
checkBox.SetBinding(ToggleButton.IsCheckedProperty, new Binding("AutomaticUpdateCheckEnabled") { Source = settings });
101-
#endif
10298
return new StackPanel {
10399
Margin = new Thickness(0, 4, 0, 0),
104100
Cursor = Cursors.Arrow,

ILSpy/Options/DisplaySettings.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,7 @@ public void LoadFromXml(XElement section)
193193
public XElement SaveToXml()
194194
{
195195
var section = new XElement(SectionName);
196-
#if CROSS_PLATFORM
197-
section.SetAttributeValue("Font", SelectedFont.Name);
198-
#else
199196
section.SetAttributeValue("Font", SelectedFont.Source);
200-
#endif
201197
section.SetAttributeValue("FontSize", SelectedFontSize);
202198
section.SetAttributeValue("ShowLineNumbers", ShowLineNumbers);
203199
section.SetAttributeValue("ShowMetadataTokens", ShowMetadataTokens);

0 commit comments

Comments
 (0)