This commit is contained in:
Elias Bonnici 2024-04-05 15:20:16 +02:00
commit dc596b3b7e
No known key found for this signature in database
GPG Key ID: 5EAC28EA3F980CCF
2 changed files with 3 additions and 7 deletions

View File

@ -93,12 +93,8 @@ Future<Widget> initialize() async {
]),
// this specifies the priority of sections to show when
// the connected YubiKey does not support current section
androidSectionPriority.overrideWithValue([
Section.accounts,
Section.fingerprints,
Section.passkeys,
Section.home
]),
androidSectionPriority.overrideWithValue(
[Section.accounts, Section.fingerprints, Section.passkeys]),
supportedThemesProvider.overrideWith(
(ref) => ref.watch(androidSupportedThemesProvider),
),

View File

@ -121,7 +121,7 @@ class AndroidCurrentSectionNotifier extends CurrentSectionNotifier {
AndroidCurrentSectionNotifier(
this._supportedSectionsByPriority,
this._appContextHandler,
) : super(Section.accounts);
) : super(Section.home);
@override
void setCurrentSection(Section section) {