Front: Score Button: Better redirect
This commit is contained in:
@@ -93,7 +93,10 @@ const ScoreModal = (props: ScoreModalProps) => {
|
||||
icon={Play}
|
||||
type="filled"
|
||||
title={translate('menuMusic')}
|
||||
onPress={() => navigation.goBack()}
|
||||
onPress={() => navigation.canGoBack()
|
||||
? navigation.goBack()
|
||||
: navigation.navigate('HomeNew', {})
|
||||
}
|
||||
/>
|
||||
</Row>
|
||||
</Column>
|
||||
|
||||
Reference in New Issue
Block a user