-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BREAKING] chore: Make Current BaseActivity nullable #18582
base: master
Are you sure you want to change the base?
Conversation
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18582/index.html |
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18582/index.html |
The build 144894 found UI Test snapshots differences: Details
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18582/index.html |
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18582/index.html |
The build 145054 found UI Test snapshots differences: Details
|
@@ -82,7 +82,9 @@ public static IImmutableDictionary<int, BaseActivity> Instances | |||
/// For more info look at the lifecycle diagram documented here: https://developer.android.com/reference/android/app/Activity.html. | |||
/// </remarks> | |||
/// </summary> | |||
public static BaseActivity Current => _current; | |||
#nullable enable | |||
public static BaseActivity? Current => _current; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be a breaking change, we can do that, but in a future major.
GitHub Issue (If applicable): closes #18573
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):