diff --git a/Libraries/DSharpPlus b/Libraries/DSharpPlus
index 01930ec3..8e079380 160000
--- a/Libraries/DSharpPlus
+++ b/Libraries/DSharpPlus
@@ -1 +1 @@
-Subproject commit 01930ec35e0465437c168f74ff1c3ede0f0e4561
+Subproject commit 8e0793805f85f826ed0014022f2e4f6b720ba89a
diff --git a/Unicord.Universal.Background.Tasks/PeriodicNotificationsTask.cs b/Unicord.Universal.Background.Tasks/PeriodicNotificationsTask.cs
index dae67704..21051923 100644
--- a/Unicord.Universal.Background.Tasks/PeriodicNotificationsTask.cs
+++ b/Unicord.Universal.Background.Tasks/PeriodicNotificationsTask.cs
@@ -25,6 +25,8 @@ public async void Run(IBackgroundTaskInstance taskInstance)
var toastNotifier = ToastNotificationManager.CreateToastNotifier();
var restClient = new DiscordRestClient(new DiscordConfiguration() { Token = token, TokenType = TokenType.User });
+ await restClient.InitializeAsync();
+
var mentions = await restClient.GetUserMentionsAsync(25, true, true);
foreach (var mention in mentions)
diff --git a/Unicord.Universal.Package/Package.appxmanifest b/Unicord.Universal.Package/Package.appxmanifest
index d0487591..aceabcaa 100644
--- a/Unicord.Universal.Package/Package.appxmanifest
+++ b/Unicord.Universal.Package/Package.appxmanifest
@@ -9,7 +9,7 @@
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
IgnorableNamespaces="uap mp uap2 uap3 uap4 uap5 rescap">
-
+
ms-resource:AppDisplayName
diff --git a/Unicord.Universal.Package/Unicord.Universal.Package.wapproj b/Unicord.Universal.Package/Unicord.Universal.Package.wapproj
index fb985026..7b750e74 100644
--- a/Unicord.Universal.Package/Unicord.Universal.Package.wapproj
+++ b/Unicord.Universal.Package/Unicord.Universal.Package.wapproj
@@ -58,7 +58,6 @@
..\Unicord.Universal\Unicord.Universal.csproj
false
false
- 2C5F1F6080F0648BF786147323B846D8D0BA1638
False
SHA256
False
@@ -69,6 +68,7 @@
https://wamwoowam.co.uk/unicord/download
true
+ 2C5F1F6080F0648BF786147323B846D8D0BA1638
diff --git a/Unicord.Universal.Shared/Constants.cs b/Unicord.Universal.Shared/Constants.cs
index 04b248cf..92ecf92a 100644
--- a/Unicord.Universal.Shared/Constants.cs
+++ b/Unicord.Universal.Shared/Constants.cs
@@ -46,7 +46,7 @@ internal static partial class Constants
public const string GIF_AUTOPLAY = "AutoPlayGifs";
public const string SAVE_CAPTURED_PHOTOS = "SavedPhotos";
- public const string TIMESTAMP_STYLE = "TimestampStyle1";
+ public const string TIMESTAMP_STYLE = "TimestampStyle_1";
public const string BACKGROUND_NOTIFICATIONS = "BackgroundNotifications";
diff --git a/Unicord.Universal.Shared/MutedExtensions.cs b/Unicord.Universal.Shared/MutedExtensions.cs
index 84995363..a161d258 100644
--- a/Unicord.Universal.Shared/MutedExtensions.cs
+++ b/Unicord.Universal.Shared/MutedExtensions.cs
@@ -52,7 +52,9 @@ public static bool IsMuted(this DiscordGuild guild)
public static bool IsUnread(this DiscordChannel channel)
{
- var discord = (DiscordClient)channel.Discord;
+ if (!(channel.Discord is DiscordClient discord))
+ return false;
+
var readState = channel.ReadState;
// this shit should never happen but apparently it does sometimes, don't question it
diff --git a/Unicord.Universal.Shared/NotificationUtils.cs b/Unicord.Universal.Shared/NotificationUtils.cs
index dd01a23f..ca7c69e1 100644
--- a/Unicord.Universal.Shared/NotificationUtils.cs
+++ b/Unicord.Universal.Shared/NotificationUtils.cs
@@ -25,7 +25,7 @@ public static bool WillShowToast(BaseDiscordClient client, DiscordMessage messag
if (client is DiscordClient discord && discord.UserSettings?.Status == "dnd")
return false;
- if (message.Channel.IsMuted() || (message.Channel.Guild != null && message.Channel.Guild.IsMuted()) || !message.Channel.IsUnread())
+ if (message.Channel.IsMuted() || (message.Channel.Guild != null && message.Channel.Guild.IsMuted()))
return false;
bool willNotify = false;
@@ -136,7 +136,7 @@ public static string GetChannelHeaderName(DiscordChannel channel)
{
if (dmChannel.Type == ChannelType.Private)
{
- if (dmChannel.Recipients.Count == 0)
+ if (dmChannel.Recipients == null || dmChannel.Recipients.Count == 0)
return "Invalid DM channel";
return $"@{dmChannel.Recipients[0].DisplayName}";
diff --git a/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml b/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml
index 6c1af40f..7caa29b9 100644
--- a/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml
+++ b/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml
@@ -61,50 +61,50 @@
+ x:Load="{x:Bind ViewModel.IsDM}"
+ Source="{Binding ChannelIconUrl}"
+ Grid.Column="1"
+ Width="24"
+ Height="24"
+ Margin="12,0,0,0"
+ VerticalAlignment="Center"/>
+ x:Load="{x:Bind ViewModel.IsNotDM}"
+ Grid.Column="1"
+ Foreground="{ThemeResource SystemControlForegroundBaseMediumBrush}"
+ Text="{x:Bind ViewModel.Channel, Converter={StaticResource ChannelSymbolConverter}}"
+ FontFamily="{StaticResource FluentSystemIcons}"
+ VerticalAlignment="Center"
+ Margin="16,0,8,0"
+ FontSize="20"/>
+ Grid.Column="2"
+ Margin="8,0,8,0"
+ VerticalAlignment="Center"
+ FontSize="15"
+ FontWeight="Bold"
+ Foreground="{ThemeResource SystemControlForegroundBaseHighBrush}"
+ TextTrimming="Clip"
+ TextWrapping="NoWrap"
+ Text="{x:Bind ViewModel.DisplayName}"/>
+ x:Load="{x:Bind ViewModel.IsDM}"
+ Grid.Column="3"
+ Width="10"
+ Height="10"
+ Margin="-4,0,8,0"
+ Presence="{x:Bind ViewModel.Recipient.Presence}"/>
+ Grid.Column="4"
+ HorizontalAlignment="Stretch"
+ VerticalAlignment="Center"
+ Channel="{x:Bind ViewModel.Channel}"
+ Text="{x:Bind ViewModel.Topic}"
+ TextWrapping="NoWrap" />
diff --git a/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml.cs b/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml.cs
index bf88138c..dd17ceed 100644
--- a/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml.cs
+++ b/Unicord.Universal/Controls/Channels/ChannelPageHeaderControl.xaml.cs
@@ -40,8 +40,8 @@ public ChannelPageHeaderControl()
private void OnLoaded(object sender, RoutedEventArgs e)
{
var windowHandle = WindowingService.Current.GetHandle(this);
- if (AnalyticsInfo.VersionInfo.DeviceFamily == "Windows.Phone")
- WindowingService.Current.HandleTitleBarForControl(TopGrid);
+ //if (SystemPlatform.Mobile)
+ // WindowingService.Current.HandleTitleBarForControl(TopGrid);
if (!WindowingService.Current.IsMainWindow(windowHandle))
{
diff --git a/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml b/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml
index 020bb577..49f6ccde 100644
--- a/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml
+++ b/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml
@@ -69,7 +69,7 @@
diff --git a/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml.cs b/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml.cs
index feebc6fb..1817846d 100644
--- a/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml.cs
+++ b/Unicord.Universal/Controls/Flyouts/MessageContextFlyout.xaml.cs
@@ -20,28 +20,12 @@ namespace Unicord.Universal.Controls.Flyouts
{
public sealed partial class MessageContextFlyout : MUXC.CommandBarFlyout
{
- public MessageControl Parent
- {
- get => (MessageControl)GetValue(ParentProperty);
- set => SetValue(ParentProperty, value);
- }
-
- public static readonly DependencyProperty ParentProperty =
- DependencyProperty.Register("Parent", typeof(MessageControl), typeof(MessageContextFlyout), new PropertyMetadata(null));
-
public MessageContextFlyout()
{
this.InitializeComponent();
}
// todo: is there a less shit way of doing this?
- private void EditFlyoutItem_Click(object sender, RoutedEventArgs e)
- {
- this.Hide();
- this.Target.FindParent().BeginEdit();
- }
-
- // ditto
private void AddReactionButton_Click(object sender, RoutedEventArgs e)
{
this.Hide();
diff --git a/Unicord.Universal/Controls/Messages/AttachmentMediaControl.cs b/Unicord.Universal/Controls/Messages/AttachmentMediaControl.cs
index 43eebbf1..db5ae762 100644
--- a/Unicord.Universal/Controls/Messages/AttachmentMediaControl.cs
+++ b/Unicord.Universal/Controls/Messages/AttachmentMediaControl.cs
@@ -86,19 +86,9 @@ private void OnAttachmentChanged(DependencyPropertyChangedEventArgs e)
//}
}
- private async void OnFullWindowRequested(object sender, EventArgs e)
+ private void OnFullWindowRequested(object sender, EventArgs e)
{
- var service = FullscreenService.GetForCurrentView();
- if (_mediaPlayerElement.IsFullWindow)
- {
- _mediaPlayerElement.IsFullWindow = false;
- await service.LeaveFullscreenAsync(_mediaPlayerElement, _mediaPlayerBorder);
- }
- else
- {
- await service.EnterFullscreenAsync(_mediaPlayerElement, _mediaPlayerBorder);
- _mediaPlayerElement.IsFullWindow = true;
- }
+ _mediaPlayerElement.IsFullWindow = !_mediaPlayerElement.IsFullWindow;
}
}
}
diff --git a/Unicord.Universal/Controls/Messages/Embeds/EmbedControl.xaml b/Unicord.Universal/Controls/Messages/Embeds/EmbedControl.xaml
index bbc40005..a3a33266 100644
--- a/Unicord.Universal/Controls/Messages/Embeds/EmbedControl.xaml
+++ b/Unicord.Universal/Controls/Messages/Embeds/EmbedControl.xaml
@@ -9,164 +9,8 @@
xmlns:messages="using:Unicord.Universal.Models.Messages"
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
mc:Ignorable="d"
- MaxWidth="480"
- Margin="0,4,0,0"
d:DesignHeight="300"
d:DesignWidth="400">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/Unicord.Universal/Controls/Messages/Embeds/EmbedFieldsView.cs b/Unicord.Universal/Controls/Messages/Embeds/EmbedFieldsView.cs
index b972710b..b3aa56fa 100644
--- a/Unicord.Universal/Controls/Messages/Embeds/EmbedFieldsView.cs
+++ b/Unicord.Universal/Controls/Messages/Embeds/EmbedFieldsView.cs
@@ -11,10 +11,10 @@ public sealed class EmbedFieldsView : ItemsControl
{
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
{
+ base.PrepareContainerForItemOverride(element, item);
+
if (item is EmbedFieldViewModel field)
Grid.SetColumnSpan((FrameworkElement)element, field.ColumnSpan);
-
- base.PrepareContainerForItemOverride(element, item);
}
}
}
diff --git a/Unicord.Universal/Controls/Messages/Embeds/ImageEmbedControl.xaml b/Unicord.Universal/Controls/Messages/Embeds/ImageEmbedControl.xaml
index c56a67f1..28fcb083 100644
--- a/Unicord.Universal/Controls/Messages/Embeds/ImageEmbedControl.xaml
+++ b/Unicord.Universal/Controls/Messages/Embeds/ImageEmbedControl.xaml
@@ -11,10 +11,10 @@
d:DesignHeight="300"
d:DesignWidth="400">
-
+
-
+
diff --git a/Unicord.Universal/Controls/Messages/MessageControl.cs b/Unicord.Universal/Controls/Messages/MessageControl.cs
index 5da1b989..3430533a 100644
--- a/Unicord.Universal/Controls/Messages/MessageControl.cs
+++ b/Unicord.Universal/Controls/Messages/MessageControl.cs
@@ -4,10 +4,6 @@
using System.Runtime.InteropServices.WindowsRuntime;
using System.ServiceModel.Channels;
using System.Threading.Tasks;
-using DSharpPlus;
-using DSharpPlus.Entities;
-using DSharpPlus.EventArgs;
-using Microsoft.Toolkit.Uwp.Helpers;
using Unicord.Universal.Models.Messages;
using Unicord.Universal.Pages;
using Windows.System;
@@ -26,7 +22,6 @@ namespace Unicord.Universal.Controls.Messages
{
public class MessageControl : Control
{
- private bool _addedEditHandlers;
private ImageBrush _imageBrush;
#region Dependency Properties
@@ -62,17 +57,15 @@ protected override void OnApplyTemplate()
protected virtual void OnMessageChanged(DependencyPropertyChangedEventArgs e)
{
+ this.ApplyTemplate();
+
if (e.NewValue is MessageViewModel message)
{
- this.DataContext = message;
this.UpdateProfileImage(message);
- this.UpdateCollapsedState();
}
else
{
- this.DataContext = null;
this.ClearProfileImage();
- // reset
}
}
@@ -105,134 +98,5 @@ private void UpdateProfileImage(MessageViewModel message)
DecodePixelType = DecodePixelType.Physical
};
}
-
- // TODO: Could prolly move this somewhere better
- // bro what was i thinking :skull:
- private void UpdateCollapsedState()
- {
- if (MessageViewModel == null || !IsEnabled)
- return;
-
- VisualStateManager.GoToState(this, "NotEditing", false);
- VisualStateManager.GoToState(this, "NoMention", false);
-
- if (MessageViewModel.Parent == null)
- {
- VisualStateManager.GoToState(this, "None", false);
- return;
- }
-
- if (MessageViewModel.Parent.IsEditMode)
- {
- VisualStateManager.GoToState(this, "EditMode", false);
- return;
- }
-
- if (MessageViewModel.IsMention)
- {
- VisualStateManager.GoToState(this, "Mention", false);
- }
-
- if (MessageViewModel.IsCollapsed)
- {
- VisualStateManager.GoToState(this, "Collapsed", false);
- }
- else
- {
- VisualStateManager.GoToState(this, "Normal", false);
- }
- }
-
- public virtual void BeginEdit()
- {
- VisualStateManager.GoToState(this, "Editing", true);
-
- var control = GetTemplateChild("MessageEditTools") as MessageEditTools;
- control.ApplyTemplate();
-
- var editBox = control.FindChild("MessageEditBox");
-
- if (!_addedEditHandlers)
- {
- var editFinishButton = control.FindChild
@@ -102,11 +104,13 @@
HorizontalAlignment="Center"
VerticalAlignment="Center">
@@ -35,11 +35,8 @@
CornerRadius="{ThemeResource FriendsPage_RelationshipItem_CornerRadius}"
Background="{ThemeResource FriendsPage_RelationshipItem_Background}"
BorderBrush="{ThemeResource FriendsPage_RelationshipItem_BorderBrush}"
- BorderThickness="1"
- PointerCanceled="Grid_PointerCanceled"
- PointerEntered="Grid_PointerEntered"
- PointerExited="Grid_PointerExited">
-
+ BorderThickness="1">
+
-
+
-
-
+
+
-
+
diff --git a/Unicord.Universal/Pages/Subpages/FriendsPage.xaml.cs b/Unicord.Universal/Pages/Subpages/FriendsPage.xaml.cs
index d7742d4e..9fbb50fd 100644
--- a/Unicord.Universal/Pages/Subpages/FriendsPage.xaml.cs
+++ b/Unicord.Universal/Pages/Subpages/FriendsPage.xaml.cs
@@ -41,36 +41,6 @@ await OverlayService.GetForCurrentView()
}
}
- private void Grid_PointerEntered(object sender, Windows.UI.Xaml.Input.PointerRoutedEventArgs e)
- {
- var grid = sender as FrameworkElement;
- var enter = grid.Resources["pointerEntered"] as Storyboard;
- var exited = grid.Resources["pointerLeft"] as Storyboard;
-
- exited?.Stop();
- enter?.Begin();
- }
-
- private void Grid_PointerExited(object sender, Windows.UI.Xaml.Input.PointerRoutedEventArgs e)
- {
- var grid = sender as FrameworkElement;
- var enter = grid.Resources["pointerEntered"] as Storyboard;
- var exited = grid.Resources["pointerLeft"] as Storyboard;
-
- enter?.Stop();
- exited?.Begin();
- }
-
- private void Grid_PointerCanceled(object sender, Windows.UI.Xaml.Input.PointerRoutedEventArgs e)
- {
- var grid = sender as FrameworkElement;
- var enter = grid.Resources["pointerEntered"] as Storyboard;
- var exited = grid.Resources["pointerLeft"] as Storyboard;
-
- enter?.Stop();
- exited?.Begin();
- }
-
private void ShowSidebarButton_Click(object sender, RoutedEventArgs e)
{
SplitPaneService.GetForCurrentView()
diff --git a/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml b/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml
index 08bc3160..fd161fdb 100644
--- a/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml
+++ b/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml
@@ -14,8 +14,8 @@
diff --git a/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml.cs b/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml.cs
index 2f2b96ff..1ee8b67a 100644
--- a/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml.cs
+++ b/Unicord.Universal/Pages/Subpages/GuildChannelListPage.xaml.cs
@@ -4,6 +4,7 @@
using System.Linq;
using Unicord.Universal.Models;
using Unicord.Universal.Models.Channels;
+using Unicord.Universal.Models.Guild;
using Unicord.Universal.Services;
using Windows.Foundation.Metadata;
using Windows.UI.ViewManagement;
diff --git a/Unicord.Universal/Pages/Subpages/PinsPage.xaml b/Unicord.Universal/Pages/Subpages/PinsPage.xaml
index 4c756110..61ed1255 100644
--- a/Unicord.Universal/Pages/Subpages/PinsPage.xaml
+++ b/Unicord.Universal/Pages/Subpages/PinsPage.xaml
@@ -9,8 +9,14 @@
xmlns:insider="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 7)"
xmlns:local="using:Unicord.Universal.Pages.Subpages"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:messages="using:Unicord.Universal.Controls.Messages" xmlns:lib="using:Microsoft.UI.Xaml.Controls" xmlns:messages1="using:Unicord.Universal.Models.Messages"
+ xmlns:messages="using:Unicord.Universal.Controls.Messages"
+ xmlns:lib="using:Microsoft.UI.Xaml.Controls"
+ xmlns:messages1="using:Unicord.Universal.Models.Messages"
+ xmlns:models="using:Unicord.Universal.Models.Channels"
mc:Ignorable="d">
+
+
+
@@ -27,38 +33,46 @@
FontWeight="Bold"/>
-
+
-
+
-
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
-
-
-
-
-
diff --git a/Unicord.Universal/Themes/Controls/Messages.xaml.cs b/Unicord.Universal/Themes/Controls/Messages.xaml.cs
index 88527416..691329f1 100644
--- a/Unicord.Universal/Themes/Controls/Messages.xaml.cs
+++ b/Unicord.Universal/Themes/Controls/Messages.xaml.cs
@@ -1,9 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using System.ServiceModel.Channels;
using System.Text;
using System.Threading.Tasks;
+using Unicord.Universal.Models.Messages;
+using Windows.System;
+using Windows.UI.Core;
using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Input;
+using Windows.UI.Xaml.Media;
+using Windows.UI.Xaml.Media.Imaging;
+using Windows.UI.Xaml.Shapes;
namespace Unicord.Universal.Resources.Controls
{
@@ -15,5 +24,31 @@ public Messages()
}
public Uri ToUri(object obj) => (Uri)obj;
+
+ private void ImageContainer_DataContextChanged(FrameworkElement sender, DataContextChangedEventArgs args)
+ {
+ ImageBrush imageBrush = null;
+ if (imageBrush == null)
+ {
+ var container = (Ellipse)sender;
+ if (container == null || container.Fill == null)
+ return;
+
+ imageBrush = (ImageBrush)container.Fill;
+ }
+
+ imageBrush.ImageSource = null;
+
+ if (args.NewValue is not MessageViewModel message || message.Author == null || message.Author.AvatarUrl == null)
+ return;
+
+ imageBrush.ImageSource = new BitmapImage
+ {
+ UriSource = new Uri(message.Author.AvatarUrl),
+ DecodePixelHeight = 36,
+ DecodePixelWidth = 36,
+ DecodePixelType = DecodePixelType.Logical
+ };
+ }
}
}
diff --git a/Unicord.Universal/Themes/Controls/Presences.xaml b/Unicord.Universal/Themes/Controls/Presences.xaml
index e1e83e3d..c9885131 100644
--- a/Unicord.Universal/Themes/Controls/Presences.xaml
+++ b/Unicord.Universal/Themes/Controls/Presences.xaml
@@ -1,71 +1,71 @@
-
- #FF808080
- #FF33CC87
- #FFFFA500
- #FFEE4447
- #FF000000
-
-
- #FFFF0000
-
-
- #FF9146FF
-
-
- M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z
-
- M 22.579 1.421 C 28.134 3.926 32 9.515 32 16 C 32 24.831 24.831 32 16 32 C 9.515 32 3.926 28.134 1.421 22.579 C 3.426 23.494 5.654 24 8 24 C 16.831 24 24 16.831 24 8 C 24 5.654 23.494 3.426 22.579 1.421 Z
-
- M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z M 3 13 L 29 13 L 29 19 L 3 19 L 3 13 Z
-
- M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z M 28 16 L 19 21.196 L 10 26.392 L 10 16 L 10 5.608 L 19 10.804 L 28 16 Z
-
- M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z M 8 16 C 8 11.585 11.585 8 16 8 C 20.415 8 24 11.585 24 16 C 24 20.415 20.415 24 16 24 C 11.585 24 8 20.415 8 16 Z
-
-
-
-
-
-
-
-
-
+ x:Class="Unicord.Universal.Resources.Controls.Presences"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="using:Unicord.Universal.Controls.Presence"
+ xmlns:converters="using:Unicord.Universal.Converters">
+
+ #FF808080
+ #FF33CC87
+ #FFFFA500
+ #FFEE4447
+ #FF000000
+
+
+ #FFFF0000
+
+
+ #FF9146FF
+
+
+ M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z
+
+ M 22.579 1.421 C 28.134 3.926 32 9.515 32 16 C 32 24.831 24.831 32 16 32 C 9.515 32 3.926 28.134 1.421 22.579 C 3.426 23.494 5.654 24 8 24 C 16.831 24 24 16.831 24 8 C 24 5.654 23.494 3.426 22.579 1.421 Z
+
+ M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z M 3 13 L 29 13 L 29 19 L 3 19 L 3 13 Z
+
+ M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z M 28 16 L 19 21.196 L 10 26.392 L 10 16 L 10 5.608 L 19 10.804 L 28 16 Z
+
+ M 0 16 C 0 7.169 7.169 0 16 0 C 24.831 0 32 7.169 32 16 C 32 24.831 24.831 32 16 32 C 7.169 32 0 24.831 0 16 Z M 8 16 C 8 11.585 11.585 8 16 8 C 20.415 8 24 11.585 24 16 C 24 20.415 20.415 24 16 24 C 11.585 24 8 20.415 8 16 Z
+
+
+
+
+
+
+
+
+
diff --git a/Unicord.Universal/Themes/CustomStyles.xaml b/Unicord.Universal/Themes/CustomStyles.xaml
index cadf7da9..2cf4abee 100644
--- a/Unicord.Universal/Themes/CustomStyles.xaml
+++ b/Unicord.Universal/Themes/CustomStyles.xaml
@@ -214,7 +214,7 @@
-
+
@@ -292,7 +292,7 @@
-
+
@@ -444,12 +444,12 @@
+ CornerRadius="{ThemeResource AudioMediaTransportControls_ControlPanel_CornerRadius}"
+ BorderThickness="{ThemeResource AudioMediaTransportControls_ControlPanel_BorderThickness}"
+ BorderBrush="{ThemeResource AudioMediaTransportControls_ControlPanel_BorderBrush}"
+ Background="{ThemeResource AudioMediaTransportControls_ControlPanel_Background}">
-
+
@@ -485,9 +485,7 @@
-
-
@@ -528,7 +526,6 @@
-
diff --git a/Unicord.Universal/Themes/Styles/Fluent.xaml b/Unicord.Universal/Themes/Styles/Fluent.xaml
index 7d04d264..966b629c 100644
--- a/Unicord.Universal/Themes/Styles/Fluent.xaml
+++ b/Unicord.Universal/Themes/Styles/Fluent.xaml
@@ -186,6 +186,30 @@
0
+
+
+
+ 0
+ 0
+ 0
+
+ 12,8,8,8
+
+
+
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+ 0
+ 0
+ 0
diff --git a/Unicord.Universal/Themes/Styles/Performance.xaml b/Unicord.Universal/Themes/Styles/Performance.xaml
index b279e88e..e7ca60e8 100644
--- a/Unicord.Universal/Themes/Styles/Performance.xaml
+++ b/Unicord.Universal/Themes/Styles/Performance.xaml
@@ -193,6 +193,30 @@
0
+
+
+
+ 0
+ 0
+ 0
+
+ 12,8,8,8
+
+
+
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+ 0
+ 0
+ 0
diff --git a/Unicord.Universal/Themes/Styles/SunValley.xaml b/Unicord.Universal/Themes/Styles/SunValley.xaml
index 2771c5a7..9794f77f 100644
--- a/Unicord.Universal/Themes/Styles/SunValley.xaml
+++ b/Unicord.Universal/Themes/Styles/SunValley.xaml
@@ -112,6 +112,30 @@
+
+
+ 1
+ 4
+ 3
+
+ 16,12,12,12
+
+
+
+ 1
+ 2
+
+
+
+ 1
+ 4
+
+
+
+ 1
+ 4
+ 4
+
diff --git a/Unicord.Universal/Themes/Templates.xaml b/Unicord.Universal/Themes/Templates.xaml
index 02d77478..cae37b0e 100644
--- a/Unicord.Universal/Themes/Templates.xaml
+++ b/Unicord.Universal/Themes/Templates.xaml
@@ -29,7 +29,7 @@
-
+