Commit 3ae993e4 authored by Mygod's avatar Mygod

Fix plugin not exported

parent d755e473
......@@ -228,10 +228,10 @@ class Profile : Serializable {
put("password", password)
put("method", method)
if (compat) return@apply
PluginConfiguration(plugin ?: "").selectedOptions.apply {
if (id.isNotEmpty()) {
put("plugin", id)
put("plugin_opts", toString())
PluginConfiguration(plugin ?: "").selectedOptions.also {
if (it.id.isNotEmpty()) {
put("plugin", it.id)
put("plugin_opts", it.toString())
}
}
put("remarks", name)
......
......@@ -22,6 +22,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="6dp"
android:nextFocusDown="@+id/stats"
app:layout_dodgeInsetEdges="top"
app:layout_anchor="@id/stats"
app:backgroundTint="@color/background_service"
......@@ -34,6 +35,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:nextFocusUp="@+id/fab"
app:backgroundTint="@color/background_stat"
app:contentInsetStart="0dp"
app:layout_scrollFlags="enterAlways|scroll"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment