diff --git a/src/components/ProgressExplainerModal.tsx b/src/components/ProgressExplainerModal.tsx index bcb4910..588e00c 100644 --- a/src/components/ProgressExplainerModal.tsx +++ b/src/components/ProgressExplainerModal.tsx @@ -12,7 +12,7 @@ import { WrapModal } from "./WrapModal"; import tw from "@src/utils/tailwind"; import { UiButton } from "@src/components/UiButton"; -type Steps = 1 | 2 | 3 | 4; +type Steps = 1 | 2 | 3; const stepsImages: Record< Steps, @@ -21,7 +21,7 @@ const stepsImages: Record< 1: { image: require("@assets/onboading/favorite-domain.png"), text: () => - t`Click the star icon to select your favorite profile. Keep track of your main profile's completion progress with the profile completion bar.`, + t`Click the star icon to select your favorite profile. Keep track of your favorite profile's completion progress with the profile completion bar.`, icon: , }, 2: { @@ -43,11 +43,6 @@ const stepsImages: Record< t`Add a profile pic that represents you. It can be a photo of yourself, your favourite NFT or something that inspires you.`, icon: , }, - 4: { - image: require("@assets/onboading/connect-backpack.png"), - text: () => t`Connect your backpack username to your on-chain identity.`, - icon: , - }, }; export const ProgressExplainerModal = ({ @@ -72,14 +67,14 @@ export const ProgressExplainerModal = ({ {stepsImages[currentStep].icon} - + {stepsImages[currentStep].text()} - {new Array(4).fill(0).map((_, i) => ( + {new Array(3).fill(0).map((_, i) => ( { @@ -105,7 +100,7 @@ export const ProgressExplainerModal = ({ - {currentStep === 4 ? ( + {currentStep === 3 ? ( ) : ( setSearch(newText)} + autoCapitalize="none" + onChangeText={(newText) => setSearch(newText.toLowerCase())} value={search} placeholder={t`Search for a domain`} type="search" diff --git a/src/screens/SearchResult.tsx b/src/screens/SearchResult.tsx index 04d741e..a564865 100644 --- a/src/screens/SearchResult.tsx +++ b/src/screens/SearchResult.tsx @@ -66,7 +66,8 @@ export const SearchResult = ({ setInput(newText)} + autoCapitalize="none" + onChangeText={(newText) => setSearch(newText.toLowerCase())} value={input} placeholder={t`Search for a domain`} type="search"