diff --git a/src/Navigation.tsx b/src/Navigation.tsx index 2f75d50..9be79bf 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -38,7 +38,13 @@ const EventStackScreen = () => ( ({ title: route.params.event.title.decoded })} + options={({ route }) => ({ + // TODO: make this not suck + title: + route.params.event.title.decoded.length < 40 + ? route.params.event.title.decoded + : route.params.event.title.decoded.substring(0, 30) + '...', + })} /> );