microsoft / fluentui-android

MIT License
575 stars 103 forks source link

fluent demo v1 not following app theme set by user #675

Closed Anubhvv closed 2 months ago

Anubhvv commented 2 months ago

Problem

V1 Activities in fluent demo app were not respecting Dark theme set by user.

Root cause

Fluent theme composable isn't used by v1 (xml based)

Fix

Using AppDelegate.setDefaultNightMode so night mode can be communicated to the v1 components.

Validations

Fluent demo app v1 themes.webm

Screenshots

Before After
Screenshot or description before this change Screenshot or description with this change

Pull request checklist

This PR has considered: