Open xperiandri opened 2 months ago
@nickrandolph do you want a PR with a fix? cc @jeromelaban
Although DateTime
is supported by AppData I get null if I move the pointer and go to InternalGetAsync
https://learn.microsoft.com/en-us/windows/apps/design/app-settings/store-and-retrieve-app-data#settings
@sasakrsmanovic can this be addressed? Is it a 1 line change?
@xperiandri if you do know what needs changing could you make a PR? Thanks!
You state
Current behavior
It does not throw any exceptions but returns a default value
Expected behavior
Either documentation is adjusted or the code returns what is declared
How to reproduce it (as minimally and precisely as possible)
DateTime
valueDateTime
valueEnvironment
Nuget Package (s): Uno.Extensions.Storage
Package Version(s): 4.1.23, 4.3.0-dev.5
Affected platform(s):
Visual Studio:
Anything else we need to know?
This piece of code is wrong
instead of
is not null
it must be!= default