From 6348ed7a16a3367de51f7d5db524e298eb2eea18 Mon Sep 17 00:00:00 2001 From: zggsong Date: Wed, 17 Jan 2024 22:05:14 +0800 Subject: [PATCH] chore: Missed part --- .../Views/Preference/Service/TextOpenAIServicesPage.xaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/STranslate/Views/Preference/Service/TextOpenAIServicesPage.xaml b/STranslate/Views/Preference/Service/TextOpenAIServicesPage.xaml index d50da8a5..47245350 100644 --- a/STranslate/Views/Preference/Service/TextOpenAIServicesPage.xaml +++ b/STranslate/Views/Preference/Service/TextOpenAIServicesPage.xaml @@ -64,7 +64,8 @@ common:BoundPasswordBox.Attach="True" common:BoundPasswordBox.Password="{Binding AppKey, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" Tag="API Key" - ToolTip="{Binding AppKey}" /> + ToolTip="{Binding AppKey}" + Visibility="{Binding KeyHide, Converter={StaticResource BooleanToVisibilityConverter}}" />