mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Set +1 prefix by default
This commit is contained in:
parent
b220d979bd
commit
bd523f307b
2 changed files with 4 additions and 2 deletions
|
|
@ -219,6 +219,8 @@ class AccountCreationViewModel @UiThread constructor() : ViewModel(), CountryPic
|
|||
}
|
||||
|
||||
init {
|
||||
internationalPrefix.value = "+1"
|
||||
|
||||
coreContext.postOnCoreThread { core ->
|
||||
accountCreator = core.createAccountCreator(core.accountCreatorUrl)
|
||||
accountCreator.addListener(accountCreatorListener)
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
android:id="@+id/phone_number"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="50dp"
|
||||
android:paddingStart="90dp"
|
||||
android:paddingStart="95dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:text="@={viewModel.phoneNumber, default=`6 01 02 03 04 05`}"
|
||||
android:textSize="14sp"
|
||||
|
|
@ -156,7 +156,7 @@
|
|||
android:onClick="@{showCountryPickerClickListener}"
|
||||
style="@style/default_text_style"
|
||||
android:id="@+id/prefix"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="0dp"
|
||||
android:paddingStart="20dp"
|
||||
android:text="@{viewModel.internationalPrefix, default=`+33`}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue