Fix copying sets - 1.117

Related to #143
This commit is contained in:
Brandon 2023-01-17 10:17:37 -07:00
parent 04ef72e48b
commit 28ec021258
3 changed files with 6 additions and 4 deletions

View File

@ -30,7 +30,9 @@ export default function EditSet() {
const [weight, setWeight] = useState(set.weight?.toString()) const [weight, setWeight] = useState(set.weight?.toString())
const [newImage, setNewImage] = useState(set.image) const [newImage, setNewImage] = useState(set.image)
const [unit, setUnit] = useState(set.unit) const [unit, setUnit] = useState(set.unit)
const [created, setCreated] = useState(new Date(set.created)) const [created, setCreated] = useState(
set.created ? new Date(set.created) : new Date(),
)
const [showRemove, setShowRemove] = useState(false) const [showRemove, setShowRemove] = useState(false)
const [removeImage, setRemoveImage] = useState(false) const [removeImage, setRemoveImage] = useState(false)
const weightRef = useRef<TextInput>(null) const weightRef = useRef<TextInput>(null)

View File

@ -41,8 +41,8 @@ android {
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60" missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36142 versionCode 36143
versionName "1.116" versionName "1.117"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) { if (isNewArchitectureEnabled()) {

View File

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