mirror of
https://github.com/bitwarden/mobile
synced 2026-01-08 03:23:23 +00:00
Removed disclosure from view cell in favor of button. Updated sync logic for incrementals. Store revision date from server record. Apply more accessability font size support for editor and picker controls
This commit is contained in:
@@ -53,6 +53,7 @@ namespace Bit.App.Pages
|
||||
|
||||
var tgr = new TapGestureRecognizer();
|
||||
tgr.Tapped += Tgr_Tapped;
|
||||
PinControl.Label.GestureRecognizers.Add(tgr);
|
||||
|
||||
Title = "Verify PIN";
|
||||
Content = stackLayout;
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace Bit.App.Pages
|
||||
|
||||
var tgr = new TapGestureRecognizer();
|
||||
tgr.Tapped += Tgr_Tapped;
|
||||
PinControl.Label.GestureRecognizers.Add(tgr);
|
||||
|
||||
Title = "Set PIN";
|
||||
Content = stackLayout;
|
||||
|
||||
@@ -12,7 +12,6 @@ using XLabs.Ioc;
|
||||
using Bit.App.Utilities;
|
||||
using PushNotification.Plugin.Abstractions;
|
||||
using Plugin.Settings.Abstractions;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Bit.App.Pages
|
||||
{
|
||||
@@ -59,7 +58,6 @@ namespace Bit.App.Pages
|
||||
|
||||
if(Device.OS == TargetPlatform.iOS)
|
||||
{
|
||||
listView.Margin = new Thickness(0, 0, -15, 0);
|
||||
listView.RowHeight = -1;
|
||||
}
|
||||
|
||||
@@ -195,7 +193,7 @@ namespace Bit.App.Pages
|
||||
_page = page;
|
||||
|
||||
// Adding whitespace to Delete action to account for the negative margin offset on the listview
|
||||
var deleteAction = new MenuItem { Text = AppResources.Delete + " ", IsDestructive = true };
|
||||
var deleteAction = new MenuItem { Text = AppResources.Delete, IsDestructive = true };
|
||||
deleteAction.SetBinding(MenuItem.CommandParameterProperty, new Binding("."));
|
||||
deleteAction.Clicked += page.DeleteClickedAsync;
|
||||
|
||||
@@ -210,9 +208,8 @@ namespace Bit.App.Pages
|
||||
ContextActions.Add(deleteAction);
|
||||
ContextActions.Add(moreAction);
|
||||
|
||||
DisclousureTapped += VaultListViewCell_DisclousureTapped;
|
||||
ShowDisclousure = true;
|
||||
DisclousureImage = "more";
|
||||
Button.Image = "more";
|
||||
Button.Command = new Command(() => ShowMore());
|
||||
}
|
||||
|
||||
public VaultListPageModel.Site SiteParameter
|
||||
@@ -228,10 +225,9 @@ namespace Bit.App.Pages
|
||||
_page.MoreClickedAsync(site);
|
||||
}
|
||||
|
||||
private void VaultListViewCell_DisclousureTapped(object sender, EventArgs e)
|
||||
private void ShowMore()
|
||||
{
|
||||
var cell = sender as VaultListViewCell;
|
||||
_page.MoreClickedAsync(cell.SiteParameter);
|
||||
_page.MoreClickedAsync(SiteParameter);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -264,6 +260,7 @@ namespace Bit.App.Pages
|
||||
};
|
||||
|
||||
View = stackLayout;
|
||||
Height = 40;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user