Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/DualCurrencyInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ function DescriptionInput({
</View>
<BottomSheetTextInput
placeholder="Sats for Satoshi"
className="text-foreground placeholder:text-muted-foreground/30 border-transparent bg-transparent text-center my-16 p-3 border text-2xl leading-[1.25] font-semibold2 caret-primary"
className="text-foreground border-transparent bg-transparent text-center my-16 p-3 border text-2xl leading-[1.25] font-semibold2 caret-primary"
placeholderClassName="text-muted-foreground"
selectionColor={"hsl(47 100% 50%)"} // translates to primary
value={input}
onChangeText={setInput}
onSubmitEditing={save}
autoFocus
multiline
/>
<Button size="lg" onPress={save}>
<Text>Save</Text>
Expand Down
3 changes: 1 addition & 2 deletions components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ function Input({
<TextInput
ref={ref}
className={cn(
"web:flex min-h-10 native:min-h-12 web:w-full rounded-2xl border border-input bg-background px-3 web:py-2 text-base lg:text-sm native:text-lg native:leading-[1.25] text-foreground placeholder:text-muted-foreground/30 web:ring-offset-background file:border-0 file:bg-transparent file:font-medium2 web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 caret-primary",
"web:flex min-h-10 native:min-h-12 web:w-full rounded-2xl border border-input bg-background px-3 web:py-2 text-base lg:text-sm native:text-lg native:leading-[1.25] text-foreground web:ring-offset-background file:border-0 file:bg-transparent file:font-medium2 web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 caret-primary",
props.editable === false && "opacity-50 web:cursor-not-allowed",
className,
)}
selectionColor={"hsl(47 100% 50%)"} // translates to primary
placeholderClassName={cn("text-muted-foreground", placeholderClassName)}
multiline
{...props}
/>
);
Expand Down
4 changes: 2 additions & 2 deletions pages/send/Address.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ function ContactInput({
</View>
<BottomSheetTextInput
placeholder="Satoshi Nakamoto"
className="text-foreground placeholder:text-muted-foreground/30 border-transparent bg-transparent text-center my-16 p-3 border text-2xl leading-[1.25] font-semibold2 caret-primary"
className="text-foreground border-transparent bg-transparent text-center my-16 p-3 border text-2xl leading-[1.25] font-semibold2 caret-primary"
placeholderClassName="text-muted-foreground"
selectionColor={"hsl(47 100% 50%)"} // translates to primary
value={input}
onChangeText={setInput}
onSubmitEditing={save}
autoFocus
multiline
/>
<Button size="lg" onPress={save} disabled={!input}>
<Text>Save</Text>
Expand Down
Loading