@@ -818,25 +818,6 @@ export function SettingsSmall({setupNav}: {setupNav: {back: () => void; next: ()
818818 </ Surface >
819819 </ View >
820820 ) }
821-
822- { ! setupNav && (
823- < Text variant = "headlineSmall" style = { styles . sectionLabel } >
824- { state . strings . layout }
825- </ Text >
826- ) }
827- { ! setupNav && (
828- < View style = { styles . navWrapper } >
829- < Surface elevation = { 0 } mode = "flat" style = { styles . navData } >
830- < View style = { styles . navFont } >
831- < TextInput style = { styles . navInput } mode = "outlined" outlineStyle = { styles . navInputBorder } placeholder = { state . strings . keyboardOffset } />
832- < View style = { styles . navPress } />
833- </ View >
834- < View style = { styles . slider } >
835- < Slider minimumValue = { - 128 } maximumValue = { 128 } minimumTrackTintColor = { theme . colors . primary } value = { state . keyboardOffset } onSlidingComplete = { val => actions . setKeyboardOffset ( val ) } />
836- </ View >
837- </ Surface >
838- </ View >
839- ) }
840821 { ! setupNav && (
841822 < Text variant = "headlineSmall" style = { styles . sectionLabel } >
842823 { state . strings . blocked }
@@ -880,6 +861,27 @@ export function SettingsSmall({setupNav}: {setupNav: {back: () => void; next: ()
880861 </ Surface >
881862 </ View >
882863 ) }
864+ { ! setupNav && (
865+ < Text variant = "headlineSmall" style = { styles . sectionLabel } >
866+ { state . strings . layout }
867+ </ Text >
868+ ) }
869+ { ! setupNav && (
870+ < View style = { styles . navWrapper } >
871+ < Surface elevation = { 0 } mode = "flat" style = { styles . navData } >
872+ < View style = { styles . navFont } >
873+ < View style = { styles . splitLabel } >
874+ < TextInput style = { styles . navInput } mode = "outlined" outlineStyle = { styles . navInputBorder } placeholder = { state . strings . keyboardOffset } />
875+ < Text style = { { ...styles . labelValue , color : theme . colors . tertiary } } > { Math . floor ( state . keyboardOffset ) * 4 } px</ Text >
876+ </ View >
877+ < View style = { styles . navPress } />
878+ </ View >
879+ < View style = { styles . slider } >
880+ < Slider minimumValue = { - 128 } maximumValue = { 128 } minimumTrackTintColor = { theme . colors . primary } value = { state . keyboardOffset } onSlidingComplete = { val => actions . setKeyboardOffset ( val ) } />
881+ </ View >
882+ </ Surface >
883+ </ View >
884+ ) }
883885 { ! setupNav && (
884886 < Text variant = "headlineSmall" style = { styles . sectionLabel } >
885887 { state . strings . support }
0 commit comments