SyncActivity: Remove password field
This commit is contained in:
parent
4908709296
commit
df3d660e83
@ -88,7 +88,6 @@ class SyncActivity : BaseActivity() {
|
||||
|
||||
private fun displayCurrentKey() {
|
||||
displayLink("https://loophabits.org/sync/${preferences.syncKey}#${preferences.encryptionKey}")
|
||||
displayPassword("6B2W9F5X")
|
||||
}
|
||||
|
||||
private fun register() {
|
||||
@ -139,10 +138,6 @@ class SyncActivity : BaseActivity() {
|
||||
baseScreen.showMessage(R.string.copied_to_the_clipboard, binding.root)
|
||||
}
|
||||
|
||||
private fun displayPassword(pin: String) {
|
||||
binding.password.text = pin
|
||||
}
|
||||
|
||||
private fun displayLink(link: String) {
|
||||
binding.qrCode.visibility = View.GONE
|
||||
binding.progress.visibility = View.VISIBLE
|
||||
|
||||
@ -121,28 +121,6 @@
|
||||
/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
||||
<!-- Password -->
|
||||
<FrameLayout
|
||||
style="@style/FormOuterBox"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout style="@style/FormInnerBox">
|
||||
|
||||
<TextView
|
||||
style="@style/FormLabel"
|
||||
android:text="@string/password" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/password"
|
||||
style="@style/FormInput"
|
||||
android:singleLine="true"
|
||||
android:letterSpacing=".5"
|
||||
android:textSize="24sp"
|
||||
android:textAlignment="center"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user