diff --git a/src/components/TaxonDetails/About.js b/src/components/TaxonDetails/About.js
index c8a299de5..7f91124c0 100644
--- a/src/components/TaxonDetails/About.js
+++ b/src/components/TaxonDetails/About.js
@@ -3,7 +3,6 @@
import {
ActivityIndicator,
Body2,
- Button,
Heading4
} from "components/SharedComponents";
import { View } from "components/styledComponents";
@@ -111,14 +110,6 @@ const About = ( { taxon, isLoading, isError }: Props ): React.Node => {
{t( "TAXONOMY-header" )}
{displayTaxonomyList}
-
-
- {t( "SIMILAR-SPECIES-header" )}
-
-
);
};
diff --git a/src/components/TaxonDetails/TaxonDetails.js b/src/components/TaxonDetails/TaxonDetails.js
index a3348c50a..e526e639e 100644
--- a/src/components/TaxonDetails/TaxonDetails.js
+++ b/src/components/TaxonDetails/TaxonDetails.js
@@ -3,14 +3,10 @@
import { useNavigation, useRoute } from "@react-navigation/native";
import { fetchTaxon } from "api/taxa";
import MediaViewerModal from "components/MediaViewer/MediaViewerModal";
-import PlaceholderText from "components/PlaceholderText";
import {
BackButton,
- Heading4,
- HideView,
INatIconButton,
- ScrollViewWrapper,
- Tabs
+ ScrollViewWrapper
} from "components/SharedComponents";
import {
Image,
@@ -35,16 +31,12 @@ const logger = log.extend( "TaxonDetails" );
const { useRealm } = RealmContext;
-const ABOUT_TAB_ID = "ABOUT";
-const DATA_TAB_ID = "DATA";
-
const TaxonDetails = ( ): Node => {
const theme = useTheme( );
const navigation = useNavigation( );
const { params } = useRoute( );
const { id } = params;
const { t } = useTranslation( );
- const [currentTabId, setCurrentTabId] = useState( ABOUT_TAB_ID );
const [mediaViewerVisible, setMediaViewerVisible] = useState( false );
const realm = useRealm( );
@@ -65,21 +57,6 @@ const TaxonDetails = ( ): Node => {
}
const taxon = remoteTaxon || localTaxon;
- const tabs = [
- {
- id: ABOUT_TAB_ID,
- testID: "TaxonDetails.AboutTab",
- onPress: () => setCurrentTabId( ABOUT_TAB_ID ),
- text: t( "ABOUT" )
- },
- {
- id: DATA_TAB_ID,
- testID: "TaxonDetails.DataTab",
- onPress: () => setCurrentTabId( DATA_TAB_ID ),
- text: t( "DATA" )
- }
- ];
-
const photos = compact(
taxon?.taxonPhotos
? taxon.taxonPhotos.map( taxonPhoto => taxonPhoto.photo )
@@ -144,22 +121,7 @@ const TaxonDetails = ( ): Node => {
/>
-
-
-
-
-
-
- { t( "MY-OBSERVATIONS" ) }
-
- { t( "GRAPHS" ) }
-
- { t( "TOP-OBSERVERS" ) }
-
- { t( "TOP-IDENTIFIERS" ) }
-
-
-
+
setMediaViewerVisible( false )}
diff --git a/src/i18n/l10n/en.ftl b/src/i18n/l10n/en.ftl
index ac339e376..2e9c87a2e 100644
--- a/src/i18n/l10n/en.ftl
+++ b/src/i18n/l10n/en.ftl
@@ -745,9 +745,6 @@ Sign-out = Sign out
Sign-Up = Sign Up
-# Header for a section showing taxa similar to a single taxon
-SIMILAR-SPECIES-header = SIMILAR SPECIES
-
# license code
some-rights-reserved = some rights reserved
@@ -1233,7 +1230,6 @@ INATURALIST-ROLE = INATURALIST {$role}
Affiliation = Affiliation: {$site}
Monthly-Donor = Monthly Donor
-VIEW-SIMILAR-SPECIES = VIEW SIMILAR SPECIES
WIKIPEDIA = WIKIPEDIA
# Header for a section showing the viewer's observations
diff --git a/src/i18n/l10n/en.ftl.json b/src/i18n/l10n/en.ftl.json
index 7475d0f82..9110e491f 100644
--- a/src/i18n/l10n/en.ftl.json
+++ b/src/i18n/l10n/en.ftl.json
@@ -492,10 +492,6 @@
"Share-location": "Share Location",
"Sign-out": "Sign out",
"Sign-Up": "Sign Up",
- "SIMILAR-SPECIES-header": {
- "comment": "Header for a section showing taxa similar to a single taxon",
- "val": "SIMILAR SPECIES"
- },
"some-rights-reserved": {
"comment": "license code",
"val": "some rights reserved"
@@ -888,7 +884,6 @@
"INATURALIST-ROLE": "INATURALIST { $role }",
"Affiliation": "Affiliation: { $site }",
"Monthly-Donor": "Monthly Donor",
- "VIEW-SIMILAR-SPECIES": "VIEW SIMILAR SPECIES",
"WIKIPEDIA": "WIKIPEDIA",
"MY-OBSERVATIONS": {
"comment": "Header for a section showing the viewer's observations",
diff --git a/src/i18n/strings.ftl b/src/i18n/strings.ftl
index ac339e376..2e9c87a2e 100644
--- a/src/i18n/strings.ftl
+++ b/src/i18n/strings.ftl
@@ -745,9 +745,6 @@ Sign-out = Sign out
Sign-Up = Sign Up
-# Header for a section showing taxa similar to a single taxon
-SIMILAR-SPECIES-header = SIMILAR SPECIES
-
# license code
some-rights-reserved = some rights reserved
@@ -1233,7 +1230,6 @@ INATURALIST-ROLE = INATURALIST {$role}
Affiliation = Affiliation: {$site}
Monthly-Donor = Monthly Donor
-VIEW-SIMILAR-SPECIES = VIEW SIMILAR SPECIES
WIKIPEDIA = WIKIPEDIA
# Header for a section showing the viewer's observations