formatting

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Julius Linus 2024-03-21 11:24:14 -05:00 committed by Marcel Hibbe
parent 6c52e73b9c
commit 20378ae89c
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
3 changed files with 12 additions and 7 deletions

View File

@ -78,8 +78,12 @@ class SetPhoneNumberDialogFragment : DialogFragment() {
binding.phoneInputLayout.helperText = ""
}
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {}
override fun afterTextChanged(s: Editable?) {}
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {
// unused atm
}
override fun afterTextChanged(s: Editable?) {
// unused atm
}
})
return dialogBuilder.create()
@ -104,7 +108,7 @@ class SetPhoneNumberDialogFragment : DialogFragment() {
}
companion object {
const val TAG = "SetPhoneNumberDialogFragment"
val TAG: String = SetPhoneNumberDialogFragment::class.java.simpleName
fun newInstance(): DialogFragment {
return SetPhoneNumberDialogFragment()

View File

@ -21,8 +21,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:paddingStart="16dp"
android:paddingEnd="16dp">
android:paddingStart="@dimen/standard_half_padding"
android:paddingEnd="@dimen/standard_half_padding">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/phone_input_layout"
@ -35,7 +35,8 @@
android:id="@+id/phone_edit_text_field"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:inputType="phone" />
</com.google.android.material.textfield.TextInputLayout>
</FrameLayout>
</FrameLayout>

View File

@ -571,7 +571,7 @@ How to translate with transifex:
<string name="nc_settings_phone_book_integration_phone_number_dialog_description">You can set your phone number so other users will be able to find you</string>
<string name="nc_settings_phone_book_integration_phone_number_dialog_invalid">Invalid phone number</string>
<string name="nc_settings_phone_book_integration_phone_number_dialog_success">Phone number set successfully</string>
<string name="nc_settings_phone_book_integration_phone_number_dialog_edit_text_hint">Enter Phone Number</string>
<string name="nc_settings_phone_book_integration_phone_number_dialog_edit_text_hint">Enter phone number</string>
<string name="no_phone_book_integration_due_to_permissions">No phone number integration due to missing permissions</string>
<string name="nc_phone_book_integration_chat_via">Chat via %s</string>
<string name="nc_phone_book_integration_account_not_found">Account not found</string>