Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Fixed Emoji picker crash
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed May 10, 2020
1 parent 6dc182f commit 06b0833
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions UWPX_UI/Controls/Chat/EmojiPickerControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ms-appx:///Resources/Styles/ChatsQueryTextBoxStyle.xaml"/>
<ResourceDictionary Source="ms-appx:///Resources/Styles/SkinToneRadioButton.xaml"/>
</ResourceDictionary.MergedDictionaries>

Expand All @@ -35,9 +34,17 @@
</Grid.RowDefinitions>
<TextBox x:Name="filterEmojis_tbx"
Grid.Row="0"
Background="Transparent"
PlaceholderText="Search for emoji..."
Style="{StaticResource ChatsQueryTextBoxStyle}"
Text="{x:Bind VIEW_MODEL.MODEL.EmojiQuery, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
<TextBox.Resources>
<SolidColorBrush x:Key="TextControlBackgroundFocused"
Color="Transparent"/>
<SolidColorBrush x:Key="TextControlBackgroundPointerOver"
Color="Transparent"/>
<SolidColorBrush x:Key="TextControlBackgroundDisabled"
Color="Transparent"/>
</TextBox.Resources>
<animations:Implicit.ShowAnimations>
<animations:OpacityAnimation From="0"
To="1"
Expand Down

0 comments on commit 06b0833

Please sign in to comment.