mirror of
https://github.com/bitwarden/mobile
synced 2026-01-03 17:13:50 +00:00
* Improved theming logic and performance, also fixed some issues regarding changing the theme after vault timeout and fixed theme applying on password generator/history * Removed messenger from theme update, and now the navigation stack is traversed and each IThemeDirtablePage gets theme updated * Improved code on update theme on pages
16 lines
398 B
C#
16 lines
398 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Bit.App.Styles
|
|
{
|
|
/// <summary>
|
|
/// This is an interface to mark the pages that need theme update special treatment
|
|
/// given that they aren't updated automatically by the Forms theme system.
|
|
/// </summary>
|
|
public interface IThemeDirtablePage
|
|
{
|
|
bool IsThemeDirty { get; set; }
|
|
|
|
Task UpdateOnThemeChanged();
|
|
}
|
|
}
|