From 7d97100e36a9451e3f8417775afdc612a969ae59 Mon Sep 17 00:00:00 2001
From: Jan Philipp Weber <10946850+jp-weber@users.noreply.github.com>
Date: Sun, 10 Nov 2024 12:58:53 +0100
Subject: [PATCH] chore: add value binding to SwitchPresenter
---
.../Project2FA.UWP/Package.appxmanifest | 4 +--
.../Project2FA.UWP/Views/UseDataFilePage.xaml | 26 ++++++++++++++-----
2 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/Project2FA/Project2FA.UWP/Package.appxmanifest b/Project2FA/Project2FA.UWP/Package.appxmanifest
index dda1427..30d55b3 100644
--- a/Project2FA/Project2FA.UWP/Package.appxmanifest
+++ b/Project2FA/Project2FA.UWP/Package.appxmanifest
@@ -5,8 +5,8 @@
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:uap6="http://schemas.microsoft.com/appx/manifest/uap/windows10/6"
IgnorableNamespaces="uap mp rescap uap6">
-
-
+
+
2fast – Two Factor Authenticator Supporting TOTP
Jan Philipp Weber
diff --git a/Project2FA/Project2FA.UWP/Views/UseDataFilePage.xaml b/Project2FA/Project2FA.UWP/Views/UseDataFilePage.xaml
index fa9f88d..7e85f04 100644
--- a/Project2FA/Project2FA.UWP/Views/UseDataFilePage.xaml
+++ b/Project2FA/Project2FA.UWP/Views/UseDataFilePage.xaml
@@ -350,8 +350,9 @@
-
+ TargetType="x:Boolean"
+ Value="{x:Bind ViewModel.ShowError, Mode=OneWay}">
+
@@ -371,7 +372,14 @@
-
+
+
+
+
+
@@ -391,7 +399,14 @@
-
+
+
+
+
+
-
-
-