mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 06:02:34 +00:00
Guard against tapjacking
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
android:background="?android:dividerHorizontal"
|
||||
android:elevation="1dp" />
|
||||
|
||||
<EditText
|
||||
<org.thoughtcrime.securesms.loki.views.TapJackingProofEditText
|
||||
style="@style/SessionEditText"
|
||||
android:id="@+id/publicKeyEditText"
|
||||
android:layout_width="match_parent"
|
||||
@@ -50,7 +50,7 @@
|
||||
android:layout_marginTop="@dimen/large_spacing"
|
||||
android:layout_marginRight="@dimen/large_spacing" />
|
||||
|
||||
<TextView
|
||||
<org.thoughtcrime.securesms.loki.views.TapJackingProofTextView
|
||||
android:id="@+id/publicKeyTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -71,7 +71,7 @@
|
||||
android:layout_marginRight="@dimen/large_spacing"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
<org.thoughtcrime.securesms.loki.views.TapJackingProofButton
|
||||
style="@style/Widget.Session.Button.Common.UnimportantFilled"
|
||||
android:id="@+id/copyButton"
|
||||
android:layout_width="0dp"
|
||||
@@ -79,7 +79,7 @@
|
||||
android:layout_weight="1"
|
||||
android:text="@string/copy" />
|
||||
|
||||
<Button
|
||||
<org.thoughtcrime.securesms.loki.views.TapJackingProofButton
|
||||
style="@style/Widget.Session.Button.Common.UnimportantFilled"
|
||||
android:id="@+id/shareButton"
|
||||
android:layout_width="0dp"
|
||||
|
||||
Reference in New Issue
Block a user