Don't auto-focus weight when editing a set - 1.142

I find myself opening up a set often to
just read the fields rather than changing
anything.
It makes sense to auto-focus the name for
a brand new set, since it's required and
typically what you first fill out.
This commit is contained in:
Brandon Presley 2023-06-29 16:20:58 +12:00
parent 6a7bd632e5
commit a5b6673e9a
3 changed files with 3 additions and 4 deletions

View File

@ -157,7 +157,6 @@ export default function EditSet() {
onSubmitEditing={() => weightRef.current?.focus()}
selection={selection}
onSelectionChange={(e) => setSelection(e.nativeEvent.selection)}
autoFocus={!!name}
innerRef={repsRef}
/>

View File

@ -41,8 +41,8 @@ android {
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36167
versionName "1.141"
versionCode 36168
versionName "1.142"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {

View File

@ -1,6 +1,6 @@
{
"name": "massive",
"version": "1.141",
"version": "1.142",
"private": true,
"license": "GPL-3.0-only",
"scripts": {