From 125a660af9bb0ea1bb258d3ed426fe3d6e3a47d3 Mon Sep 17 00:00:00 2001 From: Michel Le Bihan Date: Mon, 8 Feb 2021 17:54:17 +0100 Subject: [feature/handy]: Adapt OMEMO dialog (#985) * Wrap OMEMO automatically accept label * Change OMEMO fingerprint label to wrap with max-width * Set contact OMEMO dialog as resizable * Disable expanding grid in contact details --- plugins/omemo/src/ui/util.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/omemo/src/ui/util.vala') diff --git a/plugins/omemo/src/ui/util.vala b/plugins/omemo/src/ui/util.vala index cf61ed82..0b0c4a9f 100644 --- a/plugins/omemo/src/ui/util.vala +++ b/plugins/omemo/src/ui/util.vala @@ -51,9 +51,8 @@ public static string fingerprint_markup(string s) { b = (uint8) (b * factor); } - if (i % 32 == 0 && i != 0) markup += "\n"; markup += @"$four_chars"; - if (i % 8 == 4 && i % 32 != 28) markup += " "; + if (i % 8 == 4) markup += " "; } return "" + markup + ""; -- cgit v1.2.3