Skip to content

Commit

Permalink
Added some missing icons
Browse files Browse the repository at this point in the history
  • Loading branch information
FrayxRulez committed Mar 28, 2019
1 parent c95fc19 commit 5111268
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
7 changes: 4 additions & 3 deletions Unigram/Unigram/Views/Settings/SettingsMasksPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using Windows.Storage;
using Unigram.Native;
using System.Windows.Input;
using Unigram.Converters;

namespace Unigram.Views.Settings
{
Expand Down Expand Up @@ -113,12 +114,12 @@ private void StickerSet_ContextRequested(UIElement sender, ContextRequestedEvent

if (stickerSet.IsOfficial)
{
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide);
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide, new FontIcon { Glyph = Icons.Archive });
}
else
{
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide);
flyout.CreateFlyoutItem(ViewModel.StickerSetRemoveCommand, stickerSet, Strings.Resources.StickersRemove);
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide, new FontIcon { Glyph = Icons.Archive });
flyout.CreateFlyoutItem(ViewModel.StickerSetRemoveCommand, stickerSet, Strings.Resources.StickersRemove, new FontIcon { Glyph = Icons.Delete });
//CreateFlyoutItem(ref flyout, ViewModel.StickerSetShareCommand, stickerSet, Strings.Resources.StickersShare);
//CreateFlyoutItem(ref flyout, ViewModel.StickerSetCopyCommand, stickerSet, Strings.Resources.StickersCopy);
}
Expand Down
7 changes: 4 additions & 3 deletions Unigram/Unigram/Views/Settings/SettingsStickersPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
using System.Windows.Input;
using Unigram.Services;
using Unigram.Services.Settings;
using Unigram.Converters;

namespace Unigram.Views.Settings
{
Expand Down Expand Up @@ -156,12 +157,12 @@ private void StickerSet_ContextRequested(UIElement sender, ContextRequestedEvent

if (stickerSet.IsOfficial)
{
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide);
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide, new FontIcon { Glyph = Icons.Archive });
}
else
{
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide);
flyout.CreateFlyoutItem(ViewModel.StickerSetRemoveCommand, stickerSet, Strings.Resources.StickersRemove);
flyout.CreateFlyoutItem(ViewModel.StickerSetHideCommand, stickerSet, Strings.Resources.StickersHide, new FontIcon { Glyph = Icons.Archive });
flyout.CreateFlyoutItem(ViewModel.StickerSetRemoveCommand, stickerSet, Strings.Resources.StickersRemove, new FontIcon { Glyph = Icons.Delete });
//CreateFlyoutItem(ref flyout, ViewModel.StickerSetShareCommand, stickerSet, Strings.Resources.StickersShare);
//CreateFlyoutItem(ref flyout, ViewModel.StickerSetCopyCommand, stickerSet, Strings.Resources.StickersCopy);
}
Expand Down
6 changes: 3 additions & 3 deletions Unigram/Unigram/Views/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
Click="Privacy_Click"
Style="{StaticResource TextGlyphButtonStyle}"/>
<controls:GlyphButton Content="{CustomResource DataSettings}"
Glyph="&#xEE94;"
Glyph="&#xEB05;"
Click="Data_Click"
Style="{StaticResource TextGlyphButtonStyle}"/>
<controls:GlyphButton Content="{CustomResource StickersName}"
Expand All @@ -125,11 +125,11 @@
Click="Appearance_Click"
Style="{StaticResource TextGlyphButtonStyle}"/>
<controls:GlyphButton Content="{CustomResource Language}"
Glyph="&#xE164;"
Glyph="&#xE774;"
Click="Language_Click"
Style="{StaticResource TextGlyphButtonStyle}"/>
<controls:GlyphButton Content="{CustomResource PrivacyAdvanced}"
Glyph="&#xEC7A;"
Glyph="&#xE9E9;"
Click="Advanced_Click"
Style="{StaticResource TextGlyphButtonStyle}"/>
</StackPanel>
Expand Down

0 comments on commit 5111268

Please sign in to comment.