diff --git a/GraphsList.tsx b/GraphsList.tsx index db50131..e09b4b0 100644 --- a/GraphsList.tsx +++ b/GraphsList.tsx @@ -38,7 +38,8 @@ export default function GraphsList() { useCallback(() => { refresh(term); settingsRepo.findOne({ where: {} }).then(setSettings); - }, [refresh, term]) + // eslint-disable-next-line + }, [term]) ); const next = useCallback(async () => { diff --git a/PlanList.tsx b/PlanList.tsx index ae09b1e..c3591c0 100644 --- a/PlanList.tsx +++ b/PlanList.tsx @@ -37,7 +37,8 @@ export default function PlanList() { useFocusEffect( useCallback(() => { refresh(term); - }, [refresh, term]) + // eslint-disable-next-line + }, [term]) ); const search = useCallback( diff --git a/SetList.tsx b/SetList.tsx index 14ee70d..dde6219 100644 --- a/SetList.tsx +++ b/SetList.tsx @@ -44,9 +44,11 @@ export default function SetList() { useFocusEffect( useCallback(() => { + console.log(`${SetList.name}.focus:`, { term }); settingsRepo.findOne({ where: {} }).then(setSettings); reset(term); - }, [reset, term]) + // eslint-disable-next-line + }, [term]) ); const search = (value: string) => { diff --git a/StartPlan.tsx b/StartPlan.tsx index e1c3a96..d067152 100644 --- a/StartPlan.tsx +++ b/StartPlan.tsx @@ -86,7 +86,8 @@ export default function StartPlan() { useCallback(() => { settingsRepo.findOne({ where: {} }).then(setSettings); refresh(); - }, [refresh]) + // eslint-disable-next-line + }, []) ); const handleSubmit = async () => { diff --git a/WeightList.tsx b/WeightList.tsx index 567f006..f9b7f14 100644 --- a/WeightList.tsx +++ b/WeightList.tsx @@ -51,7 +51,8 @@ export default function WeightList() { useCallback(() => { settingsRepo.findOne({ where: {} }).then(setSettings); reset(term); - }, [term, reset]) + // eslint-disable-next-line + }, [term]) ); const search = (value: string) => { diff --git a/android/app/build.gradle b/android/app/build.gradle index 232a09d..d90fecf 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -85,8 +85,8 @@ android { applicationId "com.massive" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 36204 - versionName "1.178" + versionCode 36205 + versionName "1.179" } signingConfigs { release { diff --git a/package.json b/package.json index ad57ca2..f4d8b30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "massive", - "version": "1.178", + "version": "1.179", "private": true, "license": "GPL-3.0-only", "scripts": {