mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 00:33:20 +00:00
ios app extension theming
This commit is contained in:
27
src/iOS.Core/Controllers/ExtendedUITableViewCell.cs
Normal file
27
src/iOS.Core/Controllers/ExtendedUITableViewCell.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Bit.iOS.Core.Utilities;
|
||||
using UIKit;
|
||||
|
||||
namespace Bit.iOS.Core.Controllers
|
||||
{
|
||||
public class ExtendedUITableViewCell : UITableViewCell
|
||||
{
|
||||
public ExtendedUITableViewCell()
|
||||
{
|
||||
BackgroundColor = ThemeHelpers.BackgroundColor;
|
||||
if(!ThemeHelpers.LightTheme)
|
||||
{
|
||||
SelectionStyle = UITableViewCellSelectionStyle.None;
|
||||
}
|
||||
}
|
||||
|
||||
public ExtendedUITableViewCell(UITableViewCellStyle style, string reusedId)
|
||||
: base(style, reusedId)
|
||||
{
|
||||
BackgroundColor = ThemeHelpers.BackgroundColor;
|
||||
if(!ThemeHelpers.LightTheme)
|
||||
{
|
||||
SelectionStyle = UITableViewCellSelectionStyle.None;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user