This commit is contained in:
pompurin404 2024-08-06 23:01:06 +08:00
parent 85db2d6510
commit 484e0e0739
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "0.1.2",
"version": "0.1.3",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party",

View File

@ -152,7 +152,11 @@ const Tun: React.FC = () => {
isLoading={loading}
onPress={() => {
setLoading(true)
setupFirewall().finally(() => setLoading(false))
setupFirewall()
.then(() => {
new Notification('防火墙重设成功')
})
.finally(() => setLoading(false))
}}
>