diff --git a/src/ST.Client.Desktop.Windows/Internals/DWMApi.cs b/src/ST.Client.Desktop.Windows/Internals/DWMApi.cs index 6f3db420d..3909654eb 100644 --- a/src/ST.Client.Desktop.Windows/Internals/DWMApi.cs +++ b/src/ST.Client.Desktop.Windows/Internals/DWMApi.cs @@ -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, diff --git a/src/ST.Client.Desktop.Windows/Internals/WinInet.cs b/src/ST.Client.Desktop.Windows/Internals/WinInet.cs index 24137f3b5..f68a1ee74 100644 --- a/src/ST.Client.Desktop.Windows/Internals/WinInet.cs +++ b/src/ST.Client.Desktop.Windows/Internals/WinInet.cs @@ -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", diff --git a/src/ST.Client.Mobile.Droid/UI/Activities/LocalAuthPage/EncryptionAuthActivity.cs b/src/ST.Client.Mobile.Droid/UI/Activities/LocalAuthPage/EncryptionAuthActivity.cs index de9ac2046..387583c12 100644 --- a/src/ST.Client.Mobile.Droid/UI/Activities/LocalAuthPage/EncryptionAuthActivity.cs +++ b/src/ST.Client.Mobile.Droid/UI/Activities/LocalAuthPage/EncryptionAuthActivity.cs @@ -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);