Skip to content

Commit 9d3dbf4

Browse files
committed
fix
1 parent 70d8407 commit 9d3dbf4

File tree

4 files changed

+5
-17
lines changed

4 files changed

+5
-17
lines changed

app/src/main/java/io/nekohasekai/sagernet/fmt/shadowsocks/ShadowsocksFmt.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ fun buildSingBoxOutboundShadowsocksBean(bean: ShadowsocksBean): SingBoxOptions.O
117117
if (bean.plugin.isNotBlank()) {
118118
plugin = bean.plugin.substringBefore(";")
119119
plugin_opts = bean.plugin.substringAfter(";")
120+
if (plugin == "none") {
121+
plugin = null
122+
plugin_opts = null
123+
}
120124
}
121125
}
122126
}

app/src/main/java/io/nekohasekai/sagernet/ui/AppListActivity.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -287,17 +287,6 @@ class AppListActivity : ThemedActivity() {
287287
}
288288
Snackbar.make(binding.list, R.string.action_import_err, Snackbar.LENGTH_LONG).show()
289289
}
290-
291-
R.id.uninstall_all -> {
292-
runOnDefaultDispatcher {
293-
proxiedUids.clear()
294-
DataStore.routePackages = ""
295-
apps = apps.sortedWith(compareBy({ !isProxiedApp(it) }, { it.name.toString() }))
296-
onMainDispatcher {
297-
appsAdapter.notifyItemRangeChanged(0, appsAdapter.itemCount, SWITCH)
298-
}
299-
}
300-
}
301290
}
302291
return super.onOptionsItemSelected(item)
303292
}

app/src/main/res/menu/app_list_neko_menu.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

nb4a.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
PACKAGE_NAME=moe.nb4a
22
VERSION_NAME=1.3.9
3-
PRE_VERSION_NAME=pre-1.4.0-20250912-1
3+
PRE_VERSION_NAME=pre-1.4.0-20250914-1
44
VERSION_CODE=43

0 commit comments

Comments
 (0)