summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-10-31 11:17:13 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-10-31 11:17:13 +0530
commita0372d78bc4ef85ff828d2d4ceb150d2799cc08c (patch)
tree4129f114d3c5d650755affa5653791ad6017d6cc /app/src/main/java
parent36c2518f90ab0907d9f8b414a3a4dc33c9ad4bd4 (diff)
PgpActivity: Fix exception in copy
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
index 3b85c5d0..21ec76f6 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
@@ -28,11 +28,11 @@ import android.view.View
import android.view.WindowManager
import android.widget.Button
import android.widget.CheckBox
-import android.widget.LinearLayout
import android.widget.ProgressBar
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
+import androidx.constraintlayout.widget.ConstraintLayout
import androidx.preference.PreferenceManager
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.zeapo.pwdstore.PasswordEntry
@@ -753,7 +753,7 @@ class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound {
45
}
- val container = findViewById<LinearLayout>(R.id.crypto_container_decrypt)
+ val container = findViewById<ConstraintLayout>(R.id.crypto_container_decrypt)
container?.visibility = View.VISIBLE
val extraText = findViewById<TextView>(R.id.crypto_extra_show)