调整订阅分组设置窗口的布局

This commit is contained in:
Space Time 2024-11-22 16:46:28 +08:00
parent a2db6dd468
commit 588b39a191
3 changed files with 3 additions and 3 deletions

View file

@ -383,7 +383,7 @@ namespace ServiceLib.Handler
} }
var item = await SQLiteHelper.Instance.TableAsync<ProfileItem>().FirstOrDefaultAsync(t => t.Port > 0); var item = await SQLiteHelper.Instance.TableAsync<ProfileItem>().FirstOrDefaultAsync(t => t.Port > 0);
return await SetDefaultServerIndex(config, item.IndexId); return await SetDefaultServerIndex(config, item?.IndexId);
} }
public static async Task<ProfileItem?> GetDefaultServer(Config config) public static async Task<ProfileItem?> GetDefaultServer(Config config)

View file

@ -53,7 +53,7 @@
Binding="{Binding Remarks}" Binding="{Binding Remarks}"
Header="{x:Static resx:ResUI.LvRemarks}" /> Header="{x:Static resx:ResUI.LvRemarks}" />
<DataGridTextColumn <DataGridTextColumn
Width="150" Width="200"
Binding="{Binding Url}" Binding="{Binding Url}"
Header="{x:Static resx:ResUI.LvUrl}" /> Header="{x:Static resx:ResUI.LvUrl}" />
<DataGridCheckBoxColumn <DataGridCheckBoxColumn

View file

@ -96,7 +96,7 @@
Binding="{Binding Remarks}" Binding="{Binding Remarks}"
Header="{x:Static resx:ResUI.LvRemarks}" /> Header="{x:Static resx:ResUI.LvRemarks}" />
<DataGridTextColumn <DataGridTextColumn
Width="150" Width="200"
Binding="{Binding Url}" Binding="{Binding Url}"
Header="{x:Static resx:ResUI.LvUrl}" /> Header="{x:Static resx:ResUI.LvUrl}" />
<DataGridCheckBoxColumn <DataGridCheckBoxColumn