Skip to content

Commit

Permalink
Fix inconsistent line ending handling in client metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypto137 committed Oct 5, 2024
1 parent 54a77a6 commit 945f2e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Bifrost.Launcher/ClientMetadataManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ private void InitializeMetadata()
{
_versionMetadataDict.Clear();

string[] rows = Resources.ClientMetadataTable.Split('\n');
foreach (string row in rows)
using StringReader reader = new(Resources.ClientMetadataTable);
string row;
while ((row = reader.ReadLine()) != null)
{
string[] columns = row.Split('\t');

Expand Down
4 changes: 2 additions & 2 deletions Bifrost.Wpf/Views/ShellView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@
<ColumnDefinition Width="20" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="20" />
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="20" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

<!-- Server Selector -->
Expand Down

0 comments on commit 945f2e7

Please sign in to comment.