fix: rapikan import dan sesuaikan ukuran icon di notification
- Gabungkan import useState yang duplikat - Kecilkan ukuran icon check-square dari 22 ke 20
This commit is contained in:
@@ -9,12 +9,11 @@ import { pushToPage } from "@/lib/pushToPage";
|
||||
import { useAuthSession } from "@/providers/AuthProvider";
|
||||
import { useTheme } from "@/providers/ThemeProvider";
|
||||
import { Feather } from "@expo/vector-icons";
|
||||
import { router, Stack } from "expo-router";
|
||||
import { useInfiniteQuery, useQueryClient } from "@tanstack/react-query";
|
||||
import { useEffect, useMemo } from "react";
|
||||
import { router, Stack } from "expo-router";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { FlatList, Pressable, RefreshControl, SafeAreaView, View } from "react-native";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
import { useState } from "react";
|
||||
|
||||
type Props = {
|
||||
id: string
|
||||
@@ -153,7 +152,7 @@ export default function Notification() {
|
||||
disabled={markingAll}
|
||||
style={{ opacity: markingAll ? 0.5 : 1, padding: 4 }}
|
||||
>
|
||||
<Feather name="check-square" size={22} color="white" />
|
||||
<Feather name="check-square" size={20} color="white" />
|
||||
</Pressable>
|
||||
) : undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user