1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-21 18:53:29 +00:00

PM-3349 PM-3350 Added workaround for More Options to work on Search and Groupings Page

Updated some code to MAUI Style also
This commit is contained in:
Dinis Vieira
2023-12-01 15:02:12 +00:00
parent bfa2a51608
commit d168a7b750
6 changed files with 28 additions and 40 deletions

View File

@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Input;
using Bit.App.Abstractions;
using Bit.App.Models;
using Bit.Core.Resources.Localization;
@@ -13,10 +8,6 @@ using Bit.Core.Exceptions;
using Bit.Core.Models.View;
using Bit.Core.Utilities;
using Microsoft.Maui.Controls;
using Microsoft.Maui;
using Bit.App.Utilities;
namespace Bit.App.Pages
{
public class CiphersPageViewModel : VaultFilterViewModel
@@ -164,7 +155,7 @@ namespace Bit.App.Pages
{
ciphers = new List<CipherView>();
}
Device.BeginInvokeOnMainThread(() =>
MainThread.BeginInvokeOnMainThread(() =>
{
Ciphers.ResetWithRange(ciphers);
ShowNoData = !shouldShowAllWhenEmpty && searchable && Ciphers.Count == 0;