From 913cd23c459fa6e55908cbf9dd1faeda0596fdfd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 22 Apr 2019 17:08:37 -0400 Subject: [PATCH] cipher view cell and groupings styles --- src/Android/Android.csproj | 2 +- src/Android/MainApplication.cs | 2 + src/App/App.csproj | 3 +- .../CipherViewCell/CipherViewCell.xaml | 83 ++++++++++++++--- .../CipherViewCell/CipherViewCell.xaml.cs | 92 ++++++++++++++++++- .../Pages/GroupingsPage/GroupingsPage.xaml | 12 +-- .../GroupingsPage/GroupingsPageListItem.cs | 21 +++++ .../GroupingsPage/GroupingsPageViewModel.cs | 9 +- src/App/Styles/Android.xaml | 15 +++ src/App/Styles/Base.xaml | 38 ++++++-- src/App/Styles/Dark.xaml | 1 + src/App/Styles/Light.xaml | 1 + src/Core/Core.csproj | 2 +- src/Core/Models/View/CipherView.cs | 1 + src/iOS.Core/iOS.Core.csproj | 2 +- src/iOS.Core/packages.config | 2 +- src/iOS/AppDelegate.cs | 3 + src/iOS/iOS.csproj | 2 +- 18 files changed, 256 insertions(+), 35 deletions(-) diff --git a/src/Android/Android.csproj b/src/Android/Android.csproj index bd6d887f1..38bb0393d 100644 --- a/src/Android/Android.csproj +++ b/src/Android/Android.csproj @@ -58,7 +58,7 @@ 1.1.0 - + diff --git a/src/Android/MainApplication.cs b/src/Android/MainApplication.cs index a64760c3d..c7a6cf1f4 100644 --- a/src/Android/MainApplication.cs +++ b/src/Android/MainApplication.cs @@ -39,6 +39,8 @@ namespace Bit.Droid private void RegisterLocalServices() { + FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true); + var preferencesStorage = new PreferencesStorageService(null); var documentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal); var liteDbStorage = new LiteDbStorageService(Path.Combine(documentsPath, "bitwarden.db")); diff --git a/src/App/App.csproj b/src/App/App.csproj index 4207c0b6b..d80d75b04 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -13,7 +13,8 @@ - + + diff --git a/src/App/Controls/CipherViewCell/CipherViewCell.xaml b/src/App/Controls/CipherViewCell/CipherViewCell.xaml index 120879404..3dc3e0cee 100644 --- a/src/App/Controls/CipherViewCell/CipherViewCell.xaml +++ b/src/App/Controls/CipherViewCell/CipherViewCell.xaml @@ -2,21 +2,82 @@ + xmlns:controls="clr-namespace:Bit.App.Controls" + xmlns:ff="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"> - - + + + - + - + + + + + + + + + + + + + +