From 2d29ef9dc8037b3ace125fb4429d26892a90e05d Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Fri, 4 Sep 2020 17:16:54 +1000 Subject: [PATCH] Clean up seed dialog --- res/layout/dialog_seed.xml | 6 ++++-- res/values/strings.xml | 2 +- src/org/thoughtcrime/securesms/loki/dialogs/SeedDialog.kt | 7 ++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/res/layout/dialog_seed.xml b/res/layout/dialog_seed.xml index 718f902507..35fe564c20 100644 --- a/res/layout/dialog_seed.xml +++ b/res/layout/dialog_seed.xml @@ -21,10 +21,12 @@ android:textSize="@dimen/medium_font_size" /> \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 674ce114f2..1dbc88c0e7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1851,7 +1851,7 @@ Select Contacts - *Please note that it is not possible to use the same Session ID on multiple devices simultaneously + It is not possible to use the same Session ID on multiple devices simultaneously Secure session reset done diff --git a/src/org/thoughtcrime/securesms/loki/dialogs/SeedDialog.kt b/src/org/thoughtcrime/securesms/loki/dialogs/SeedDialog.kt index a52e08f606..097342332c 100644 --- a/src/org/thoughtcrime/securesms/loki/dialogs/SeedDialog.kt +++ b/src/org/thoughtcrime/securesms/loki/dialogs/SeedDialog.kt @@ -7,17 +7,18 @@ import android.content.Context import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Bundle -import androidx.fragment.app.DialogFragment -import androidx.appcompat.app.AlertDialog import android.view.LayoutInflater +import android.view.WindowManager import android.widget.Toast +import androidx.appcompat.app.AlertDialog +import androidx.fragment.app.DialogFragment import kotlinx.android.synthetic.main.dialog_seed.view.* import network.loki.messenger.R import org.thoughtcrime.securesms.crypto.IdentityKeyUtil import org.thoughtcrime.securesms.loki.utilities.MnemonicUtilities import org.whispersystems.signalservice.loki.crypto.MnemonicCodec import org.whispersystems.signalservice.loki.utilities.hexEncodedPrivateKey -import java.io.File + class SeedDialog : DialogFragment() {