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}}" />