Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
appCommon is not defined when resetting to auto mode. #280
Comments
Fixes NativeScript#280 it looks like at some point this might have been changed from appCommon to Application and this reference missed.
Environment
Provide version numbers for the following components (information can be retrieved by running
tns infoin your project folder or by inspecting thepackage.jsonof the project):Describe the bug
When calling
Theme.setMode(Theme.Auto)I receive the following error in both Android and iOS:I think the issue is:
Will open PR.
To Reproduce
Call
Theme.setMode(Theme.Auto);. Have checked in@nativescript/theme@3.0.0and@nativescript/theme@2.5.0.Expected behavior
Theme.setMode(Theme.Auto)Resets theme to system default.Additional context
N/A