setUserAgent method
- @ControllerProps(NodeProps.kUserAgent)
- WebViewViewModel renderViewModel,
- String ua
Implementation
@ControllerProps(NodeProps.kUserAgent)
void setUserAgent(WebViewViewModel renderViewModel, String ua) {
if (ua != renderViewModel.userAgent) {
renderViewModel.userAgent = ua;
}
}