From 68a6449339dbcb5a1d242849346b5ad7dda688ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bispo?= Date: Thu, 26 Jan 2023 13:53:48 +0000 Subject: [PATCH] [SG-516] Additional forwarded email providers for username generator - mobile (#2304) * [SG-516] Added DuckDuckGo provider * [SG-516] Add Fastmail as generator provider * [SG-516] code clean up * [SG-516] Default to service empty if first time on screen. Order services by alphabetic order. * [SG-516] Removed unnecessary prop. * [PS-2278] Fixed inverted eye bug. * [SG-516] Add icon glyph converter * [SG-516] Fixed enum default value and ordering --- src/App/Pages/Generator/GeneratorPage.xaml | 51 +++++++++- .../Pages/Generator/GeneratorPageViewModel.cs | 81 ++++++++++++---- src/App/Resources/AppResources.Designer.cs | 18 ++++ src/App/Resources/AppResources.resx | 8 ++ src/App/Utilities/IconGlyphExtensions.cs | 2 +- src/Core/Enums/ForwardedEmailServiceType.cs | 5 + .../Domain/UsernameGenerationOptions.cs | 7 +- src/Core/Services/ApiService.cs | 95 +++++++++++++++++++ .../Services/UsernameGenerationService.cs | 23 +++++ 9 files changed, 264 insertions(+), 26 deletions(-) diff --git a/src/App/Pages/Generator/GeneratorPage.xaml b/src/App/Pages/Generator/GeneratorPage.xaml index 48cdcbc70..975180db8 100644 --- a/src/App/Pages/Generator/GeneratorPage.xaml +++ b/src/App/Pages/Generator/GeneratorPage.xaml @@ -1,4 +1,4 @@ - + + @@ -251,7 +252,7 @@ Grid.Row="1"/> @@ -280,7 +281,7 @@ IsPassword="{Binding ShowFirefoxRelayApiAccessToken, Converter={StaticResource inverseBool}}"/> @@ -301,7 +302,49 @@ IsPassword="{Binding ShowSimpleLoginApiKey, Converter={StaticResource inverseBool}}"/> + + + + + + +