Browse Source

Add gravatar link button on profile

pull/324/head
Ionite 1 year ago
parent
commit
8449c04e82
No known key found for this signature in database
  1. 20
      StabilityMatrix.Avalonia/Views/Settings/AccountSettingsPage.axaml

20
StabilityMatrix.Avalonia/Views/Settings/AccountSettingsPage.axaml

@ -82,13 +82,21 @@
IsFilled="True"
FontSize="64"
Symbol="Person" />
<controls:BetterAdvancedImage
HorizontalAlignment="Left"
<ui:HyperlinkButton
ToolTip.Tip="Edit on Gravatar"
NavigateUri="http://gravatar.com/emails/"
IsVisible="{Binding LykosProfileImageUrl, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"
Source="{Binding LykosProfileImageUrl}"
Width="64"
Height="64"
CornerRadius="8" />
Padding="2"
CornerRadius="8"
HorizontalAlignment="Left"
Classes="transparent-full">
<controls:BetterAdvancedImage
Source="{Binding LykosProfileImageUrl}"
Width="64"
Height="64"
CornerRadius="8" />
</ui:HyperlinkButton>
<StackPanel>
<TextBlock

Loading…
Cancel
Save