Skip to content

Commit

Permalink
fix: styling improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammedKpln committed Aug 27, 2024
1 parent a9be6da commit f365cec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion app/(app)/tag/[id]/edit.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import Screen from '@lib/components/screen';
import EditTagModule from '@lib/modules/tags/edit_tag.module';
import { useLocalSearchParams } from 'expo-router';
import { useAuthStore } from '@lib/store/auth.store';
import { Redirect, useLocalSearchParams } from 'expo-router';

export default function EditTagScreen() {
const { id } = useLocalSearchParams();
const isSignedIn = useAuthStore();

if (!isSignedIn) {
return <Redirect href="/signIn" />;
}

return (
<Screen>
Expand Down
5 changes: 3 additions & 2 deletions lib/components/home/note_card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ export default function NoteCard({ content, tag, expire_at, onPress }: IProps) {
onPress={onPress}
borderRadius="$5"
p="$5"
bg="$backgroundHover"
bg="$backgroundFocus"
cursor="pointer"
animation="bouncy"
hoverStyle={{ scale: 0.98, bg: '$backgroundHover' }}
hoverStyle={{ scale: 0.98, bg: '$backgroundPress' }}
pressStyle={{ scale: 0.98, bg: '$backgroundPress' }}
>
<YStack
gap="$3"
Expand Down

0 comments on commit f365cec

Please sign in to comment.