PgpActivity: Fix exception in copy

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-10-31 11:17:13 +05:30
parent 36c2518f90
commit a0372d78bc
No known key found for this signature in database
GPG key ID: C2E74282C2133D62

View file

@ -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)