From 853cdfea0b94889c14d04277d466a32a2bc1b9f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20K=C3=BCrten?= <sebastian@mobanisto.de>
Date: Tue, 8 Feb 2022 09:22:07 +0100
Subject: [PATCH] Introduction drawer: distribute horizontal space equally in
 second step

---
 .../briar/desktop/introduction/ContactDrawerMakeIntro.kt      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/org/briarproject/briar/desktop/introduction/ContactDrawerMakeIntro.kt b/src/main/kotlin/org/briarproject/briar/desktop/introduction/ContactDrawerMakeIntro.kt
index c86b883578..1302218fe8 100644
--- a/src/main/kotlin/org/briarproject/briar/desktop/introduction/ContactDrawerMakeIntro.kt
+++ b/src/main/kotlin/org/briarproject/briar/desktop/introduction/ContactDrawerMakeIntro.kt
@@ -104,7 +104,7 @@ fun ContactDrawerMakeIntro(
                     )
                 }
                 Row(Modifier.fillMaxWidth().padding(12.dp), horizontalArrangement = Arrangement.SpaceAround) {
-                    Column(Modifier.align(Alignment.CenterVertically)) {
+                    Column(Modifier.align(Alignment.Top).weight(1f)) {
                         ProfileCircle(36.dp, viewModel.firstContact.value!!)
                         Text(
                             text = viewModel.firstContact.value!!.displayName,
@@ -113,7 +113,7 @@ fun ContactDrawerMakeIntro(
                         )
                     }
                     Icon(Icons.Filled.SwapHoriz, i18n("access.swap"), modifier = Modifier.size(48.dp))
-                    Column(Modifier.align(Alignment.CenterVertically)) {
+                    Column(Modifier.align(Alignment.Top).weight(1f)) {
                         ProfileCircle(36.dp, viewModel.secondContact.value!!)
                         Text(
                             text = viewModel.secondContact.value!!.displayName,
-- 
GitLab