Check for existence of `plans` and `workouts` - 1.154 🚀

This commit is contained in:
Brandon Presley 2023-08-29 11:56:39 +12:00
parent 0ba7616ea2
commit ec72824e3c
4 changed files with 5 additions and 3 deletions

View File

@ -85,6 +85,7 @@ export default function PlanList() {
}, [ids, refresh, term]);
const select = useCallback(() => {
if (!plans) return;
setIds(plans.map((plan) => plan.id));
}, [plans]);

View File

@ -116,6 +116,7 @@ export default function WorkoutList() {
};
const select = () => {
if (!workouts) return;
setNames(workouts.map((workout) => workout.name));
};

View File

@ -85,8 +85,8 @@ android {
applicationId "com.massive"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36179
versionName "1.153"
versionCode 36180
versionName "1.154"
}
signingConfigs {
release {

View File

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