notification/12-dec-25 #29

Merged
bagasbanuna merged 21 commits from notification/12-dec-25 into staging 2025-12-12 17:51:59 +08:00
126 changed files with 4357 additions and 1211 deletions
Showing only changes of commit 573b525352 - Show all commits

View File

@@ -87,7 +87,7 @@ export default function Application() {
disabled={true} disabled={true}
name="notifications" name="notifications"
size={20} size={20}
color={MainColor.yellow} color={MainColor.placeholder}
onPress={() => { onPress={() => {
router.push("/notifications"); router.push("/notifications");
}} }}

View File

@@ -53,6 +53,8 @@ const DateTimeInput_Android: React.FC<DateTimeInputProps> = ({
const [selectedDate, setSelectedDate] = useState<Date>(value as any); const [selectedDate, setSelectedDate] = useState<Date>(value as any);
const [selectedTime, setSelectedTime] = useState<Date>(value as any); const [selectedTime, setSelectedTime] = useState<Date>(value as any);
console.log("Date Android", value)
// Fungsi untuk menggabungkan tanggal dan waktu // Fungsi untuk menggabungkan tanggal dan waktu
const combineDateAndTime = useCallback((date: Date, time: Date): Date => { const combineDateAndTime = useCallback((date: Date, time: Date): Date => {
const combined = new Date(date); const combined = new Date(date);

View File

@@ -23,6 +23,9 @@ const DateTimePickerCustom: React.FC<Props> = ({
minimumDate, minimumDate,
disabled = false, disabled = false,
}) => { }) => {
console.log("Date Android Comp", value)
return ( return (
<> <>
{Platform.OS === "ios" ? ( {Platform.OS === "ios" ? (
@@ -47,6 +50,9 @@ const DateTimePickerCustom: React.FC<Props> = ({
maximumDate={maximumDate} maximumDate={maximumDate}
minimumDate={minimumDate} minimumDate={minimumDate}
disabled={disabled} disabled={disabled}
value={value as DateTimePickerEvent | Date | null | any}
/> />
)} )}
</> </>

View File

@@ -28,7 +28,7 @@ export default function Event_BoxPublishSection({
<AvatarUsernameAndOtherComponent <AvatarUsernameAndOtherComponent
avatarHref={`/profile/${data?.Author?.Profile?.id}`} avatarHref={`/profile/${data?.Author?.Profile?.id}`}
name={data?.Author?.username || "-"} name={data?.Author?.username || "-"}
rightComponent={rightComponentAvatar} // rightComponent={rightComponentAvatar}
avatar={data?.Author?.Profile?.imageId || ""} avatar={data?.Author?.Profile?.imageId || ""}
/> />
<TextCustom truncate bold> <TextCustom truncate bold>