From 58fbb163473c6c60f31ec65b23eaa2a5dc51cad9 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 3 Nov 2024 10:58:50 +0800 Subject: [PATCH] code_review: PR #644 - use `AutoFocusBehaviour.IsEnable` instead of toggle focus by code in `OnOpened ` Signed-off-by: leo --- src/Views/Askpass.axaml | 6 +++--- src/Views/Askpass.axaml.cs | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Views/Askpass.axaml b/src/Views/Askpass.axaml index e1d257ec..f2308805 100644 --- a/src/Views/Askpass.axaml +++ b/src/Views/Askpass.axaml @@ -39,15 +39,15 @@ - + HorizontalAlignment="Stretch" + v:AutoFocusBehaviour.IsEnabled="True">