You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because having a HomeWidget is only supported on certain platforms I propose a new function bool HomeWidget.isSupported() which simply returns if the current runtime of the application supports having a HomeWidget.
This wil make it easier for applications to know if the code fragments that build this widget is to be initialized/called.
I'm not 100% sure but I suspect the code can be as simple as this (perhaps even cache the value)
Because having a HomeWidget is only supported on certain platforms I propose a new function
bool HomeWidget.isSupported()
which simply returns if the current runtime of the application supports having a HomeWidget.This wil make it easier for applications to know if the code fragments that build this widget is to be initialized/called.
I'm not 100% sure but I suspect the code can be as simple as this (perhaps even cache the value)
The text was updated successfully, but these errors were encountered: