Rework ServerSelector app UI (#27)

* Rework ServerSelector app UI

* fix border on linux

---------

Co-authored-by: Mikhail Tyukin <mishakeys20@gmail.com>
This commit is contained in:
GreenXeMotion
2025-04-07 03:56:44 +06:00
committed by GitHub
parent 3769b8ef58
commit fb274baebf
5 changed files with 331 additions and 15 deletions

View File

@@ -5,7 +5,6 @@ using FluentAvalonia.UI.Controls;
using System;
using System.IO;
using System.Net;
using System.Runtime.InteropServices;
using System.Security.Principal;
namespace ServerSelector.Views;
@@ -108,7 +107,7 @@ public partial class MainView : UserControl
return;
SetLoadingScreenVisible(true);
LblStatus.Text = "Status: " + await ServerSwitcher.CheckIntegrity(GamePath, LauncherPath) + ", for game version " + ServerSwitcher.PatchGameVersion;
LblStatus.Text = "Status: " + await ServerSwitcher.CheckIntegrity(GamePath, LauncherPath);
SetLoadingScreenVisible(false);
}
@@ -211,6 +210,11 @@ public partial class MainView : UserControl
}
}
private void BtnSelectApkPath_Click(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
{
// To be implemented
}
private void GamePath_TextChanged(object? sender, TextChangedEventArgs e)
{
UpdateIntegrityLabel();