Fix group selection

Šī revīzija ir iekļauta:
Arnaud Vergnet 2021-05-10 21:34:07 +02:00
vecāks f6f1a5519e
revīzija d3a48d95c3

Parādīt failu

@ -190,7 +190,7 @@ function PlanexScreen(props: Props) {
navigation.dispatch(CommonActions.setParams({ group: undefined }));
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
}, [props.route.params])
);
/**
* Gets the Webview, with an error view on top if no group is selected.
@ -388,7 +388,7 @@ function PlanexScreen(props: Props) {
navigation={navigation}
ref={barRef}
onPress={sendMessage}
seekAttention={currentGroup !== undefined}
seekAttention={currentGroup === undefined}
/>
</View>
);