Fix QC ( Keano )
Fix: - modified: app/(application)/(user)/home.tsx - modified: app/(application)/(user)/voting/create.tsx - modified: components/DateInput/DataTimeAndroid.tsx - modified: components/DateInput/DateTimePickerCustom.tsx - modified: screens/Event/BoxPublishSection.tsx ### No Issue
This commit is contained in:
@@ -87,7 +87,7 @@ export default function Application() {
|
||||
disabled={true}
|
||||
name="notifications"
|
||||
size={20}
|
||||
color={MainColor.yellow}
|
||||
color={MainColor.placeholder}
|
||||
onPress={() => {
|
||||
router.push("/notifications");
|
||||
}}
|
||||
|
||||
@@ -110,7 +110,7 @@ export default function VotingCreate() {
|
||||
<StackCustom gap={"xs"}>
|
||||
<TextInputCustom
|
||||
label="Judul Voting"
|
||||
placeholder="MasukanJudul Voting"
|
||||
placeholder="Masukan Judul Voting"
|
||||
required
|
||||
value={data.title}
|
||||
onChangeText={(value: any) => setData({ ...data, title: value })}
|
||||
|
||||
@@ -53,6 +53,8 @@ const DateTimeInput_Android: React.FC<DateTimeInputProps> = ({
|
||||
const [selectedDate, setSelectedDate] = useState<Date>(value as any);
|
||||
const [selectedTime, setSelectedTime] = useState<Date>(value as any);
|
||||
|
||||
console.log("Date Android", value)
|
||||
|
||||
// Fungsi untuk menggabungkan tanggal dan waktu
|
||||
const combineDateAndTime = useCallback((date: Date, time: Date): Date => {
|
||||
const combined = new Date(date);
|
||||
|
||||
@@ -23,6 +23,9 @@ const DateTimePickerCustom: React.FC<Props> = ({
|
||||
minimumDate,
|
||||
disabled = false,
|
||||
}) => {
|
||||
|
||||
console.log("Date Android Comp", value)
|
||||
|
||||
return (
|
||||
<>
|
||||
{Platform.OS === "ios" ? (
|
||||
@@ -47,6 +50,9 @@ const DateTimePickerCustom: React.FC<Props> = ({
|
||||
maximumDate={maximumDate}
|
||||
minimumDate={minimumDate}
|
||||
disabled={disabled}
|
||||
value={value as DateTimePickerEvent | Date | null | any}
|
||||
|
||||
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -28,7 +28,7 @@ export default function Event_BoxPublishSection({
|
||||
<AvatarUsernameAndOtherComponent
|
||||
avatarHref={`/profile/${data?.Author?.Profile?.id}`}
|
||||
name={data?.Author?.username || "-"}
|
||||
rightComponent={rightComponentAvatar}
|
||||
// rightComponent={rightComponentAvatar}
|
||||
avatar={data?.Author?.Profile?.imageId || ""}
|
||||
/>
|
||||
<TextCustom truncate bold>
|
||||
|
||||
Reference in New Issue
Block a user