From a5b6673e9acee4b182f2af4f937a19cbc4fb686b Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Thu, 29 Jun 2023 16:20:58 +1200 Subject: [PATCH] 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. --- EditSet.tsx | 1 - android/app/build.gradle | 4 ++-- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/EditSet.tsx b/EditSet.tsx index 0630c12..bfd0365 100644 --- a/EditSet.tsx +++ b/EditSet.tsx @@ -157,7 +157,6 @@ export default function EditSet() { onSubmitEditing={() => weightRef.current?.focus()} selection={selection} onSelectionChange={(e) => setSelection(e.nativeEvent.selection)} - autoFocus={!!name} innerRef={repsRef} /> diff --git a/android/app/build.gradle b/android/app/build.gradle index 108d143..74cb7b3 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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()) { diff --git a/package.json b/package.json index b152425..e290433 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "massive", - "version": "1.141", + "version": "1.142", "private": true, "license": "GPL-3.0-only", "scripts": {