refactor: streamline resolve_scheme function calls and visibility in utils

This commit is contained in:
Tunglies
2025-08-30 17:22:52 +08:00
parent 09f14c23e4
commit 3a7be3dfb7
4 changed files with 19 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ use tauri::Url;
use crate::{config::PrfItem, core::handle, logging, utils::logging::Type, wrap_err};
pub async fn resolve_scheme(param: String) -> Result<()> {
pub(super) async fn resolve_scheme(param: String) -> Result<()> {
log::info!(target:"app", "received deep link: {param}");
let param_str = if param.starts_with("[") && param.len() > 4 {