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