|
|
|
@ -15,14 +15,21 @@
|
|
|
|
|
<local:ReturnButton NeedReturn="{Binding NeedReturn, Source={x:Reference fl}}" Grid.Row="0"
|
|
|
|
|
HorizontalOptions="Start" Padding="10, 10, 0, 0"/>
|
|
|
|
|
<!-- Header -->
|
|
|
|
|
<ImageButton Source="person_default.png" HorizontalOptions="Center"
|
|
|
|
|
<ImageButton Source="{Binding CurrentConnected.ProfilePict}" HorizontalOptions="Center"
|
|
|
|
|
BackgroundColor="{StaticResource Secondary}"
|
|
|
|
|
WidthRequest="100" HeightRequest="100"
|
|
|
|
|
CornerRadius="50" Margin="0, 30, 0, 10"
|
|
|
|
|
BorderWidth="5" BorderColor="Black"
|
|
|
|
|
IsVisible="{Binding CurrentConnected, Converter={toolkit:IsNotNullConverter}}"
|
|
|
|
|
Grid.RowSpan="2"
|
|
|
|
|
Clicked="ProfileButton_Clicked"/>
|
|
|
|
|
Clicked="ProfileButton_Clicked">
|
|
|
|
|
<FlyoutBase.ContextFlyout>
|
|
|
|
|
<MenuFlyout>
|
|
|
|
|
<MenuFlyoutItem Text="Change profile picture"
|
|
|
|
|
Clicked="ChangeProfilePict_Clicked"/>
|
|
|
|
|
</MenuFlyout>
|
|
|
|
|
</FlyoutBase.ContextFlyout>
|
|
|
|
|
</ImageButton>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!-- Connection button -->
|
|
|
|
|