This commit is contained in:
Administrator committed 2026-05-23 01:12:40 +08:00
commit 2334555c7b
13 files changed
+206 -41

No files matched your search

+13
View File
@@ -70,6 +70,19 @@ public partial class ProfilePage : ContentPage
AppModels.Updata(sql);
}
}
private async void ServerHTTP_Tapped(object sender, TappedEventArgs e)
{
string result = await DisplayPromptAsync("", "服务器地址");
// 处理结果
if (!string.IsNullOrWhiteSpace(result))
{
App.GlobalData.ServerID = result;
string sql = @"UPDATE Users SET ServerHTTP = '" + App.GlobalData.ServerID
+ "' WHERE User='" + App.GlobalData.User + "';";
AppModels.Updata(sql);
}
}
private async void ProxyID_Tapped(object sender, TappedEventArgs e)
{
string result = await DisplayPromptAsync("", "代理");