From b1b08ce716301d53701f14557f7d3edf0214ab26 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 24 Apr 2023 18:07:03 +0200 Subject: ui: display latest handshake time Signed-off-by: Jason A. Donenfeld --- ui/src/main/res/layout/tunnel_detail_peer.xml | 30 ++++++++++++++++++++++++++- ui/src/main/res/values/strings.xml | 2 ++ 2 files changed, 31 insertions(+), 1 deletion(-) (limited to 'ui/src/main/res') diff --git a/ui/src/main/res/layout/tunnel_detail_peer.xml b/ui/src/main/res/layout/tunnel_detail_peer.xml index ccbf27ef..25081cea 100644 --- a/ui/src/main/res/layout/tunnel_detail_peer.xml +++ b/ui/src/main/res/layout/tunnel_detail_peer.xml @@ -171,7 +171,7 @@ android:id="@+id/transfer_label" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_below="@+id/endpoint_text" + android:layout_below="@+id/persistent_keepalive_text" android:layout_marginTop="8dp" android:labelFor="@+id/transfer_text" android:text="@string/transfer" @@ -194,6 +194,34 @@ app:layout_constraintTop_toBottomOf="@+id/transfer_label" tools:text="1024 MB" tools:visibility="visible" /> + + + + diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml index bc85bdbf..e842a393 100644 --- a/ui/src/main/res/values/strings.xml +++ b/ui/src/main/res/values/strings.xml @@ -140,6 +140,8 @@ : WireGuard base64 keys must be 44 characters (32 bytes) : WireGuard keys must be 32 bytes : WireGuard hex keys must be 64 characters (32 bytes) + Latest handshake + %s ago Listen port Unable to export log: %s WireGuard Android Log File -- cgit v1.2.3