mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-25 11:39:56 +08:00
修复 Android 设置令牌密码后无法取消密码
This commit is contained in:
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace System
|
||||
{
|
||||
class DWMApi
|
||||
static class DWMApi
|
||||
{
|
||||
public const int DWM_TNP_VISIBLE = 0x8,
|
||||
DWM_TNP_OPACITY = 0x4,
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System.Net;
|
||||
using System.Net;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace System
|
||||
{
|
||||
internal class WinInet
|
||||
internal static class WinInet
|
||||
{
|
||||
// For PInvoke: Initiates the enumeration of the cache groups in the Internet cache
|
||||
[DllImport(@"wininet",
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace System.Application.UI.Activities
|
||||
ViewModel!.WhenAnyValue(x => x.IsPasswordEncrypt).SubscribeInMainThread(value =>
|
||||
{
|
||||
if (binding == null) return;
|
||||
binding!.swEncryption.Checked = value;
|
||||
binding.layoutPassword.Enabled = value;
|
||||
binding.layoutPassword2.Enabled = value;
|
||||
}).AddTo(this);
|
||||
|
||||
Reference in New Issue
Block a user