summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/java
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2022-01-21 23:50:54 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2022-03-18 22:07:58 +0100
commit75ce7ab5b8d2657822f28812826ecccfa08e88a1 (patch)
tree219ec7566eb28f54ad585fb34c36515bd1169af9 /ui/src/main/java
parent82d36935e0381b6f1e71066ae09cdccedf51758c (diff)
WIP current changes
Diffstat (limited to 'ui/src/main/java')
-rw-r--r--ui/src/main/java/com/wireguard/android/configStore/FileConfigStore.kt2
-rw-r--r--ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt3
2 files changed, 4 insertions, 1 deletions
diff --git a/ui/src/main/java/com/wireguard/android/configStore/FileConfigStore.kt b/ui/src/main/java/com/wireguard/android/configStore/FileConfigStore.kt
index 1099382d..98f63f4d 100644
--- a/ui/src/main/java/com/wireguard/android/configStore/FileConfigStore.kt
+++ b/ui/src/main/java/com/wireguard/android/configStore/FileConfigStore.kt
@@ -68,7 +68,7 @@ class FileConfigStore(private val context: Context) : ConfigStore {
@Throws(IOException::class)
override fun save(name: String, config: Config): Config {
- Log.d(TAG, "Saving configuration for tunnel $name")
+ Log.d(TAG, "Saving configuration for tunnel $name:" + config.toWgQuickString())
val file = fileFor(name)
if (!file.isFile)
throw FileNotFoundException(context.getString(R.string.config_not_found_error, file.name))
diff --git a/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt b/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt
index 1b7cf224..7c90744d 100644
--- a/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt
+++ b/ui/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.kt
@@ -107,6 +107,9 @@ class TunnelEditorFragment : BaseFragment() {
var httpProxyMenuText = httpProxyMenu?.editText as? AutoCompleteTextView
httpProxyMenuText?.setAdapter(httpProxyAdapter)
+ // httpProxyMenuText?.setOnClickListener {
+ // httpProxyMenuText.setAdapter(httpProxyAdapter)
+ // }
return binding?.root
}