Skip to content

Commit 8f63667

Browse files
authored
feat: upgrade ubuntu version to 22.04 in github action (#7764)
* feat: upgrade ubuntu version to 22.04 in github action * fix: cargo clippy
1 parent 954e844 commit 8f63667

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ jobs:
338338
- {
339339
arch: x86_64,
340340
target: x86_64-unknown-linux-gnu,
341-
os: ubuntu-20.04,
341+
os: ubuntu-22.04,
342342
extra-build-args: "",
343343
flutter_profile: production-linux-x86_64,
344344
}

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/link_parsers/default_parser.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import 'package:appflowy/plugins/document/presentation/editor_plugins/link_preview/custom_link_parser.dart';
22
import 'package:appflowy_backend/log.dart';
3-
4-
import 'package:http/http.dart' as http;
53
// ignore: depend_on_referenced_packages
64
import 'package:html/parser.dart' as html_parser;
5+
import 'package:http/http.dart' as http;
76

87
abstract class LinkInfoParser {
98
Future<LinkInfo?> parse(
@@ -70,7 +69,7 @@ class DefaultParser implements LinkInfoParser {
7069
}
7170

7271
final favicon =
73-
'https://www.google.com/s2/favicons?sz=64&domain=${link.host}';
72+
'https://www.faviconextractor.com/favicon/${link.host}?larger=true';
7473

7574
return LinkInfo(
7675
url: '$link',

frontend/rust-lib/flowy-user/src/user_manager/manager_user_workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ impl UserManager {
593593
if let Ok(member_record) = select_workspace_member(db, &workspace_id.to_string(), uid) {
594594
if is_older_than_n_minutes(member_record.updated_at, 10) {
595595
self
596-
.get_workspace_member_info_from_remote(&workspace_id, uid)
596+
.get_workspace_member_info_from_remote(workspace_id, uid)
597597
.await?;
598598
}
599599

0 commit comments

Comments
 (0)