-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added Haitian Creole translation 🎉
- Loading branch information
1 parent
f2296b9
commit 9a2479e
Showing
8 changed files
with
453 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
import React from 'react'; | ||
import { View } from 'react-native'; | ||
import { Keyboard, TouchableWithoutFeedback, View } from 'react-native'; | ||
|
||
|
||
import NewAssets from './NewAssets'; | ||
import ViewAssets from './ViewAssets'; | ||
|
||
const Assets = ({ | ||
selectedAsset, setSelectedAsset, surveyingOrganization | ||
// navigateToNewAssets, navigateToViewAllAssets | ||
}) => ( | ||
<View> | ||
{selectedAsset && ( | ||
<NewAssets | ||
setSelectedAsset={setSelectedAsset} | ||
selectedAsset={selectedAsset} | ||
surveyingOrganization={surveyingOrganization} | ||
/> | ||
)} | ||
{selectedAsset === null && ( | ||
<ViewAssets /> | ||
)} | ||
</View> | ||
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}> | ||
<View> | ||
{selectedAsset && ( | ||
<NewAssets | ||
setSelectedAsset={setSelectedAsset} | ||
selectedAsset={selectedAsset} | ||
surveyingOrganization={surveyingOrganization} | ||
/> | ||
)} | ||
{selectedAsset === null && ( | ||
<ViewAssets | ||
organization={surveyingOrganization} | ||
/> | ||
)} | ||
</View> | ||
</TouchableWithoutFeedback> | ||
); | ||
|
||
export default Assets; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.