Prevent title counting sets when we aren't predicting them
This commit is contained in:
parent
0b489cac2a
commit
edf823ca8b
|
@ -26,7 +26,7 @@ export default function EditSet() {
|
|||
console.log(`${EditSet.name}.focus:`, set);
|
||||
let title = 'Create set';
|
||||
if (typeof set.id === 'number') title = 'Edit set';
|
||||
else if (Number(set.sets) > 0)
|
||||
else if (Number(set.sets) > 0 && settings.newSet === 'predict')
|
||||
title = `${set.name} (${count + 1} / ${set.sets})`;
|
||||
navigation.getParent()?.setOptions({
|
||||
headerLeft: () => (
|
||||
|
|
Loading…
Reference in New Issue
Block a user