diff --git a/app/src/main/java/sushi/hardcore/aira/ChatActivity.kt b/app/src/main/java/sushi/hardcore/aira/ChatActivity.kt
index 14b4556..fc19b22 100644
--- a/app/src/main/java/sushi/hardcore/aira/ChatActivity.kt
+++ b/app/src/main/java/sushi/hardcore/aira/ChatActivity.kt
@@ -235,6 +235,17 @@ class ChatActivity : ServiceBoundActivity() {
R.string.incoming
})
}
+ dialogBinding.textIsContact.text = getString(if (contact == null) {
+ dialogBinding.fieldIsVerified.visibility = View.GONE
+ R.string.no
+ } else {
+ dialogBinding.textIsVerified.text = getString(if (contact.verified) {
+ R.string.yes
+ } else {
+ R.string.no
+ })
+ R.string.yes
+ })
AlertDialog.Builder(this)
.setTitle(sessionName)
.setView(dialogBinding.root)
diff --git a/app/src/main/res/layout/dialog_info.xml b/app/src/main/res/layout/dialog_info.xml
index fc324cd..7fea2f2 100644
--- a/app/src/main/res/layout/dialog_info.xml
+++ b/app/src/main/res/layout/dialog_info.xml
@@ -11,7 +11,101 @@
android:layout_width="100dp"
android:layout_height="100dp"
app:textSize="20sp"
- android:layout_gravity="center_horizontal"/>
+ android:layout_gravity="center_horizontal"
+ android:layout_marginBottom="10dp"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index bd7a48a..bb951f8 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -1,4 +1,5 @@
30dp
+ 5sp
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index e880af8..4541b19 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -17,6 +17,7 @@
File saved !
Enter your password:
Yes
+ No
Warning !
Do you really want to log out ? (You will no longer receive messages until you login again)
Cancel
@@ -62,7 +63,7 @@
Send with AIRA
Your identity\'s fingerprint:
Fingerprint:
- IP:
+ Peer IP:
Connection:
Outgoing
Incoming
@@ -84,4 +85,6 @@
Security
Use PSEC padding
PSEC padding obfuscates the length of your messages but uses more network bandwidth.
+ Is contact:
+ Is verified: