Commit 3ae993e4 authored by Mygod's avatar Mygod

Fix plugin not exported

parent d755e473
...@@ -228,10 +228,10 @@ class Profile : Serializable { ...@@ -228,10 +228,10 @@ class Profile : Serializable {
put("password", password) put("password", password)
put("method", method) put("method", method)
if (compat) return@apply if (compat) return@apply
PluginConfiguration(plugin ?: "").selectedOptions.apply { PluginConfiguration(plugin ?: "").selectedOptions.also {
if (id.isNotEmpty()) { if (it.id.isNotEmpty()) {
put("plugin", id) put("plugin", it.id)
put("plugin_opts", toString()) put("plugin_opts", it.toString())
} }
} }
put("remarks", name) put("remarks", name)
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:elevation="6dp" android:elevation="6dp"
android:nextFocusDown="@+id/stats"
app:layout_dodgeInsetEdges="top" app:layout_dodgeInsetEdges="top"
app:layout_anchor="@id/stats" app:layout_anchor="@id/stats"
app:backgroundTint="@color/background_service" app:backgroundTint="@color/background_service"
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:nextFocusUp="@+id/fab"
app:backgroundTint="@color/background_stat" app:backgroundTint="@color/background_stat"
app:contentInsetStart="0dp" app:contentInsetStart="0dp"
app:layout_scrollFlags="enterAlways|scroll" 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