mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 23:44:45 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user