diff --git a/src/Core/Controls/AvatarImageSource.cs b/src/Core/Controls/AvatarImageSource.cs index 9f3ee89cbb..6ffbb1167f 100644 --- a/src/Core/Controls/AvatarImageSource.cs +++ b/src/Core/Controls/AvatarImageSource.cs @@ -1,12 +1,5 @@ -using System; -using System.IO; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using Bit.Core.Utilities; +using Bit.Core.Utilities; using SkiaSharp; -using Microsoft.Maui.Controls; -using Microsoft.Maui; namespace Bit.App.Controls { @@ -48,11 +41,7 @@ namespace Bit.App.Controls private Task GetStreamAsync(CancellationToken userToken = new CancellationToken()) { - // TODO: [MAUI-Avatar] now methods are private protected so cannot be used here, figure out workaround - //OnLoadingStarted(); - //userToken.Register(CancellationTokenSource.Cancel); var result = Draw(); - //OnLoadingCompleted(CancellationTokenSource.IsCancellationRequested); return Task.FromResult(result); } diff --git a/src/Core/Pages/Send/SendAddOnlyPage.xaml b/src/Core/Pages/Send/SendAddOnlyPage.xaml index d4b34b05e3..4259124105 100644 --- a/src/Core/Pages/Send/SendAddOnlyPage.xaml +++ b/src/Core/Pages/Send/SendAddOnlyPage.xaml @@ -10,26 +10,44 @@ xmlns:effects="clr-namespace:Bit.App.Effects" x:DataType="pages:SendAddEditPageViewModel" HideSoftInputOnTapped="True" - x:Name="_page" - Title="{Binding PageTitle}"> + x:Name="_page"> - - - - - - + + + + +