mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 14:40:06 +08:00
fix
This commit is contained in:
parent
70d8407ab1
commit
9d3dbf42f8
@ -117,6 +117,10 @@ fun buildSingBoxOutboundShadowsocksBean(bean: ShadowsocksBean): SingBoxOptions.O
|
|||||||
if (bean.plugin.isNotBlank()) {
|
if (bean.plugin.isNotBlank()) {
|
||||||
plugin = bean.plugin.substringBefore(";")
|
plugin = bean.plugin.substringBefore(";")
|
||||||
plugin_opts = bean.plugin.substringAfter(";")
|
plugin_opts = bean.plugin.substringAfter(";")
|
||||||
|
if (plugin == "none") {
|
||||||
|
plugin = null
|
||||||
|
plugin_opts = null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -287,17 +287,6 @@ class AppListActivity : ThemedActivity() {
|
|||||||
}
|
}
|
||||||
Snackbar.make(binding.list, R.string.action_import_err, Snackbar.LENGTH_LONG).show()
|
Snackbar.make(binding.list, R.string.action_import_err, Snackbar.LENGTH_LONG).show()
|
||||||
}
|
}
|
||||||
|
|
||||||
R.id.uninstall_all -> {
|
|
||||||
runOnDefaultDispatcher {
|
|
||||||
proxiedUids.clear()
|
|
||||||
DataStore.routePackages = ""
|
|
||||||
apps = apps.sortedWith(compareBy({ !isProxiedApp(it) }, { it.name.toString() }))
|
|
||||||
onMainDispatcher {
|
|
||||||
appsAdapter.notifyItemRangeChanged(0, appsAdapter.itemCount, SWITCH)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return super.onOptionsItemSelected(item)
|
return super.onOptionsItemSelected(item)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<item
|
|
||||||
android:id="@+id/uninstall_all"
|
|
||||||
android:title="Uninstall All Plugins" />
|
|
||||||
</menu>
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
PACKAGE_NAME=moe.nb4a
|
PACKAGE_NAME=moe.nb4a
|
||||||
VERSION_NAME=1.3.9
|
VERSION_NAME=1.3.9
|
||||||
PRE_VERSION_NAME=pre-1.4.0-20250912-1
|
PRE_VERSION_NAME=pre-1.4.0-20250914-1
|
||||||
VERSION_CODE=43
|
VERSION_CODE=43
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user