From c927af4bf3f5571c75ad7bd862db7f298b7b05c9 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Fri, 12 Feb 2016 08:37:18 -0800 Subject: [PATCH] Added newlines in encryption info --- src/org/kde/kdeconnect/UserInterface/DeviceFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java b/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java index 2a2a5132..4069de96 100644 --- a/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java +++ b/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java @@ -259,8 +259,8 @@ public class DeviceFragment extends Fragment { if (device.certificate == null) { builder.setMessage(R.string.encryption_info_msg_no_ssl); } else { - builder.setMessage(context.getResources().getString(R.string.my_device_fingerprint) + " " + SslHelper.getCertificateHash(SslHelper.certificate) + "\n\n" - + context.getResources().getString(R.string.remote_device_fingerprint) + " " + SslHelper.getCertificateHash(device.certificate)); + builder.setMessage(context.getResources().getString(R.string.my_device_fingerprint) + "\n " + SslHelper.getCertificateHash(SslHelper.certificate) + "\n\n" + + context.getResources().getString(R.string.remote_device_fingerprint) + "\n " + SslHelper.getCertificateHash(device.certificate)); } builder.create().show(); return true;