@@ -66,6 +66,7 @@ import com.getcode.theme.CodeTheme
6666import com.getcode.theme.White05
6767import com.getcode.theme.White50
6868import com.getcode.theme.extraSmall
69+ import com.getcode.util.debugBounds
6970import com.getcode.util.getActivity
7071import com.getcode.util.rememberedClickable
7172import com.getcode.view.components.ButtonState
@@ -127,7 +128,7 @@ internal fun PhoneVerify(
127128 delay(500 )
128129 openCountrySelector()
129130 }
130- }
131+ },
131132 ) {
132133 dataState.countryLocale.resId?.let { resId ->
133134 Image (
@@ -140,17 +141,18 @@ internal fun PhoneVerify(
140141 contentDescription = " " ,
141142 )
142143 }
143- Text (
144+ Box (
144145 modifier = Modifier
145146 .height(CodeTheme .dimens.grid.x12)
146147 .align(CenterVertically )
147- .padding(
148- horizontal = CodeTheme .dimens.grid.x3,
149- vertical = CodeTheme .dimens.grid.x4
150- ),
151- style = CodeTheme .typography.subtitle1,
152- text = " +${dataState.countryLocale.phoneCode} "
153- )
148+ .padding(horizontal = CodeTheme .dimens.grid.x3,),
149+ contentAlignment = Center
150+ ) {
151+ Text (
152+ style = CodeTheme .typography.subtitle1,
153+ text = " +${dataState.countryLocale.phoneCode} "
154+ )
155+ }
154156 }
155157 Spacer (
156158 modifier = Modifier
@@ -162,8 +164,7 @@ internal fun PhoneVerify(
162164 modifier = Modifier
163165 .wrapContentWidth()
164166 .weight(1f )
165- .focusRequester(focusRequester)
166- .padding(top = CodeTheme .dimens.grid.x1),
167+ .focusRequester(focusRequester),
167168 value = dataState.phoneNumberFormattedTextFieldValue,
168169 textStyle = CodeTheme .typography.subtitle1.copy(color = CodeTheme .colors.onBackground),
169170 keyboardOptions = KeyboardOptions .Default .copy(keyboardType = KeyboardType .Phone ),
0 commit comments