fix(desktop): change title for add dialogs

This commit is contained in:
Anna 2020-11-15 13:47:30 -05:00
parent f6e362e9f3
commit 5d256245db
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,10 @@ namespace XIVChat_Desktop {
this.InitializeComponent();
this.DataContext = this;
if (this.isNewServer) {
this.Title = "Add server";
}
}
public ManageServer(Window owner, SavedServer server, bool isNewServer) {

View File

@ -27,6 +27,10 @@ namespace XIVChat_Desktop {
this.InitializeComponent();
this.DataContext = this;
if (this.isNewTab) {
this.Title = "Add tab";
}
foreach (var category in (FilterCategory[])Enum.GetValues(typeof(FilterCategory))) {
var panel = new WrapPanel {
Margin = new Thickness(8),