diff options
| author | Michel Le Bihan <michel@lebihan.pl> | 2021-02-08 17:54:17 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-05 14:32:09 +0200 |
| commit | 125a660af9bb0ea1bb258d3ed426fe3d6e3a47d3 (patch) | |
| tree | 8063a0fbced74714b895e03f04513782fb71e575 /plugins/omemo/src/ui/util.vala | |
| parent | 13b38f55c495221828541ffded5f5e74807791b9 (diff) | |
| download | dino-125a660af9bb0ea1bb258d3ed426fe3d6e3a47d3.tar.gz | |
[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
Diffstat (limited to 'plugins/omemo/src/ui/util.vala')
| -rw-r--r-- | plugins/omemo/src/ui/util.vala | 3 |
1 files changed, 1 insertions, 2 deletions
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 += @"<span foreground=\"$("#%02x%02x%02x".printf(r, g, b))\">$four_chars</span>"; - if (i % 8 == 4 && i % 32 != 28) markup += " "; + if (i % 8 == 4) markup += " "; } return "<span font_family='monospace' font='8'>" + markup + "</span>"; |
