feat: Use url path name as fallback subscription name (#255)

This commit is contained in:
Lai Zn
2024-01-18 14:36:37 +08:00
committed by GitHub
parent 0ee0958539
commit 4bb88d8e44
2 changed files with 16 additions and 1 deletions

View File

@@ -261,7 +261,9 @@ impl PrfItem {
},
}
}
None => None,
None => Some(
crate::utils::help::get_last_part_and_decode(url).unwrap_or("Remote File".into()),
),
};
let option = match update_interval {
Some(val) => Some(PrfOption {