added missing filesize on Send edit screen (#1307)

This commit is contained in:
Matt Portune 2021-03-09 14:44:22 -05:00 committed by GitHub
parent f2b9214836
commit 29369b7bb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,10 +177,20 @@
<Label <Label
Text="{u:I18n TypeFile}" Text="{u:I18n TypeFile}"
StyleClass="box-label" /> StyleClass="box-label" />
<StackLayout
IsVisible="{Binding EditMode}"
Orientation="Horizontal">
<Label <Label
Text="{Binding Send.File.FileName, Mode=OneWay}" Text="{Binding Send.File.FileName, Mode=OneWay}"
IsVisible="{Binding EditMode}" StyleClass="box-value"
StyleClass="box-value" /> VerticalTextAlignment="Center"
HorizontalOptions="StartAndExpand" />
<Label
Text="{Binding Send.File.SizeName, Mode=OneWay}"
StyleClass="box-sub-label"
HorizontalTextAlignment="End"
VerticalTextAlignment="Center" />
</StackLayout>
<StackLayout <StackLayout
IsVisible="{Binding EditMode, Converter={StaticResource inverseBool}}" IsVisible="{Binding EditMode, Converter={StaticResource inverseBool}}"
StyleClass="box-row"> StyleClass="box-row">
@ -212,6 +222,7 @@
</StackLayout> </StackLayout>
<Label <Label
Text="{u:I18n TypeFileInfo}" Text="{u:I18n TypeFileInfo}"
IsVisible="{Binding EditMode, Converter={StaticResource inverseBool}}"
StyleClass="box-footer-label" StyleClass="box-footer-label"
Margin="0,5,0,0" /> Margin="0,5,0,0" />
</StackLayout> </StackLayout>