From 3808c3ddae3dfe7a78547e1dc75c42e2083edb99 Mon Sep 17 00:00:00 2001 From: guozhigq Date: Wed, 30 Oct 2024 23:27:54 +0800 Subject: [PATCH] fix: scheme SchemeEntity --- lib/utils/app_scheme.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/utils/app_scheme.dart b/lib/utils/app_scheme.dart index 5d4196bc..70e7c79d 100644 --- a/lib/utils/app_scheme.dart +++ b/lib/utils/app_scheme.dart @@ -212,9 +212,9 @@ class PiliSchame { } } - static Future biliScheme(Uri value) async { - final String host = value.host; - final String path = value.path; + static Future biliScheme(SchemeEntity value) async { + final String host = value.host!; + final String path = value.path!; switch (host) { case 'root': Navigator.popUntil(