notification

This commit is contained in:
Abin Toppo
2025-10-07 16:06:05 +05:30
parent ba3d4f7579
commit a2d2ae580f
21 changed files with 312 additions and 249 deletions
+3 -3
View File
@@ -110,7 +110,7 @@ const GroupList = () => {
}
}, [search, groups]);
if (loading) return <ActivityIndicator size="large" color={colors.Home} />;
if (loading) return <ActivityIndicator size="large" color={colors.pastelBlue} />;
return (
<>
@@ -175,10 +175,10 @@ const styles = StyleSheet.create({
alignItems: "center",
marginRight: 12,
},
avatarText: { fontSize: 18, fontWeight: "700", color: colors.Home },
avatarText: { fontSize: 18, fontWeight: "700", color: colors.black },
groupName: { fontSize: 16, fontWeight: "600", color: colors.textDark },
groupDescription: { fontSize: 13, color: colors.textLight, marginTop: 2 },
groupMeta: { fontSize: 12, color: colors.Home, marginTop: 2 },
groupMeta: { fontSize: 12, color: colors.black, marginTop: 2 },
detailsBox: {
marginTop: 10,
padding: 10,
+3 -3
View File
@@ -58,7 +58,7 @@ const RequestList: React.FC = () => {
setError(null);
const response = await fetch(
"https://api.godemo.in/FundCollect/api/fund/group/pending/request",
"http://192.168.1.5:9060/api/fund/group/pending/request",
{
method: "GET",
headers: {
@@ -124,7 +124,7 @@ const RequestList: React.FC = () => {
// Make API call to approve the request
const response = await fetch(
`https://api.godemo.in/FundCollect/api/fund/requests/${requestId}/approve`,
`http://192.168.1.5:9060/api/fund/requests/${requestId}/approve`,
{
method: "PUT",
headers: {
@@ -170,7 +170,7 @@ const RequestList: React.FC = () => {
// Make API call to decline the request
const response = await fetch(
`https://api.godemo.in/FundCollect/api/fund/requests/${requestedId}/reject?reason=/${reason}`,
`http://192.168.1.5:9060/api/fund/requests/${requestedId}/reject?reason=/${reason}`,
{
method: "PUT",
headers: {