This commit is contained in:
Burak Kaan Köse
2024-05-30 01:41:43 +02:00
parent bec98dcaa2
commit 920def7446

View File

@@ -107,10 +107,11 @@
</DataTemplate> </DataTemplate>
</Page.Resources> </Page.Resources>
<Grid Background="{ThemeResource AppBarBackgroundColor}" <Grid
AllowDrop="True" Background="{ThemeResource AppBarBackgroundColor}"
DragOver="OnComposeGridDragOver" AllowDrop="True"
DragLeave="OnComposeGridDragLeave"> DragOver="OnComposeGridDragOver"
DragLeave="OnComposeGridDragLeave">
<Grid.Resources> <Grid.Resources>
<SolidColorBrush x:Key="AutoSuggestBoxBorderThemeBrush">Transparent</SolidColorBrush> <SolidColorBrush x:Key="AutoSuggestBoxBorderThemeBrush">Transparent</SolidColorBrush>
</Grid.Resources> </Grid.Resources>
@@ -634,7 +635,10 @@
DragOver="OnFileDropGridDragOver" DragOver="OnFileDropGridDragOver"
DragLeave="OnFileDropGridDragLeave" DragLeave="OnFileDropGridDragLeave"
AllowDrop="True"> AllowDrop="True">
<Grid Background="{ThemeResource AcrylicInAppFillColorDefaultBrush}" CornerRadius="9" Margin="0,7,5,0"> <Grid
Background="{ThemeResource AcrylicInAppFillColorDefaultBrush}"
CornerRadius="9"
Margin="0,7,5,0">
<Rectangle <Rectangle
x:Name="DropZoneBorder" x:Name="DropZoneBorder"
RadiusX="9" RadiusX="9"
@@ -643,7 +647,7 @@
Stroke="{ThemeResource TextFillColorPrimaryBrush}" Stroke="{ThemeResource TextFillColorPrimaryBrush}"
Opacity="0.5" Opacity="0.5"
StrokeDashArray="3,4" StrokeDashArray="3,4"
StrokeThickness="2"/> StrokeThickness="2" />
<TextBlock <TextBlock
x:Name="DropZoneText" x:Name="DropZoneText"
HorizontalAlignment="Center" HorizontalAlignment="Center"
@@ -651,20 +655,18 @@
Opacity="0.5" Opacity="0.5"
FontSize="20" FontSize="20"
FontWeight="SemiBold" FontWeight="SemiBold"
Text="{x:Bind domain:Translator.ComposerAttachmentsDropZone_Message}"/> Text="{x:Bind domain:Translator.ComposerAttachmentsDropZone_Message}" />
</Grid> </Grid>
</Grid> </Grid>
<Grid <Grid
Grid.Row="4" Grid.Row="4"
Margin="0,6,0,0" CornerRadius="3"
Background="White" Margin="0,6,0,0">
Visibility="{x:Bind IsComposerDarkMode, Converter={StaticResource ReverseBooleanToVisibilityConverter}, Mode=OneWay}" /> <Grid Background="White" Visibility="{x:Bind IsComposerDarkMode, Converter={StaticResource ReverseBooleanToVisibilityConverter}, Mode=OneWay}" />
<muxc:WebView2 <muxc:WebView2 x:Name="Chromium" />
x:Name="Chromium" </Grid>
Grid.Row="4"
Margin="0,6,0,0" />
<VisualStateManager.VisualStateGroups> <VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ComposerThemeToggleButtonStates"> <VisualStateGroup x:Name="ComposerThemeToggleButtonStates">