mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-18 10:04:20 +01:00
try to add linux webview support
This commit is contained in:
@@ -25,10 +25,10 @@ class _WebTabsSelectItemComponent extends State<WebTabsSelectItemComponent> {
|
||||
|
||||
Future<void> loadFavicon() async {
|
||||
if (widget.webInfo.controller != null) {
|
||||
var favicons = await widget.webInfo.controller!.getFavicons();
|
||||
if (favicons.isNotEmpty) {
|
||||
var favicon = await widget.webInfo.controller!.getFavicon();
|
||||
if (StringUtil.isNotBlank(favicon)) {
|
||||
setState(() {
|
||||
faviconUrl = favicons.first.url.toString();
|
||||
faviconUrl = favicon;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user