Fix 'next' button alignment during registration.

This commit is contained in:
Greyson Parrelli
2023-11-09 10:26:29 -05:00
parent 96333b616b
commit ead8f209b6
3 changed files with 4 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ class WhoCanSeeMyPhoneNumberFragment : DSLSettingsFragment(
binding.save.setOnClickListener {
binding.save.isEnabled = false
viewModel.onSave().subscribeBy(onComplete = {
lifecycleDisposable += viewModel.onSave().subscribeBy(onComplete = {
setFragmentResult(REQUEST_KEY, Bundle())
findNavController().popBackStack()
})

View File

@@ -273,8 +273,8 @@
android:layout_gravity="end"
android:layout_marginStart="32dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="32dp"
android:layout_marginBottom="16dp"
android:layout_marginEnd="@dimen/dsl_settings_gutter"
android:layout_marginBottom="10dp"
android:enabled="false"
app:circularProgressMaterialButton__label="@string/CreateProfileActivity_next"
app:materialThemeOverlay="@style/ThemeOverlay.Signal.CircularProgressIndicator.Tonal" />

View File

@@ -27,4 +27,5 @@
android:text="@string/RegistrationActivity_next"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>