upd: fix
Deskripsi - fix tinggi page saat pada tambah anggota pada fitur diskusi umum - isdetrukstif false No Issues
This commit is contained in:
@@ -94,7 +94,7 @@ export default function AddMemberDiscussionDetail() {
|
|||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SafeAreaView>
|
<>
|
||||||
<Stack.Screen
|
<Stack.Screen
|
||||||
options={{
|
options={{
|
||||||
// headerLeft: () => <ButtonBackHeader onPress={() => { router.back() }} />,
|
// headerLeft: () => <ButtonBackHeader onPress={() => { router.back() }} />,
|
||||||
@@ -127,7 +127,7 @@ export default function AddMemberDiscussionDetail() {
|
|||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<View style={[Styles.p15, { backgroundColor: colors.background }]}>
|
<View style={[Styles.p15, {flex: 1, backgroundColor: colors.background }]}>
|
||||||
<InputSearch onChange={setSearch} value={search} />
|
<InputSearch onChange={setSearch} value={search} />
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -188,6 +188,6 @@ export default function AddMemberDiscussionDetail() {
|
|||||||
}
|
}
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</View>
|
</View>
|
||||||
</SafeAreaView>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -321,7 +321,6 @@ export default function DetailEventCalendar() {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Keluar"
|
confirmText="Keluar"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import ModalConfirmation from "@/components/ModalConfirmation";
|
|
||||||
import AppHeader from "@/components/AppHeader";
|
import AppHeader from "@/components/AppHeader";
|
||||||
import BorderBottomItem from "@/components/borderBottomItem";
|
import BorderBottomItem from "@/components/borderBottomItem";
|
||||||
import BorderBottomItem2 from "@/components/borderBottomItem2";
|
import BorderBottomItem2 from "@/components/borderBottomItem2";
|
||||||
@@ -8,6 +7,7 @@ import ImageUser from "@/components/imageNew";
|
|||||||
import { InputForm } from "@/components/inputForm";
|
import { InputForm } from "@/components/inputForm";
|
||||||
import LabelStatus from "@/components/labelStatus";
|
import LabelStatus from "@/components/labelStatus";
|
||||||
import MenuItemRow from "@/components/menuItemRow";
|
import MenuItemRow from "@/components/menuItemRow";
|
||||||
|
import ModalConfirmation from "@/components/ModalConfirmation";
|
||||||
import Skeleton from "@/components/skeleton";
|
import Skeleton from "@/components/skeleton";
|
||||||
import SkeletonContent from "@/components/skeletonContent";
|
import SkeletonContent from "@/components/skeletonContent";
|
||||||
import Text from "@/components/Text";
|
import Text from "@/components/Text";
|
||||||
@@ -23,9 +23,9 @@ import {
|
|||||||
} from "@/lib/api";
|
} from "@/lib/api";
|
||||||
import { getDB } from "@/lib/firebaseDatabase";
|
import { getDB } from "@/lib/firebaseDatabase";
|
||||||
import { useAuthSession } from "@/providers/AuthProvider";
|
import { useAuthSession } from "@/providers/AuthProvider";
|
||||||
|
import { useTheme } from "@/providers/ThemeProvider";
|
||||||
import { Feather, Ionicons, MaterialCommunityIcons, MaterialIcons } from "@expo/vector-icons";
|
import { Feather, Ionicons, MaterialCommunityIcons, MaterialIcons } from "@expo/vector-icons";
|
||||||
import { ref } from "@react-native-firebase/database";
|
import { ref } from "@react-native-firebase/database";
|
||||||
import { useTheme } from "@/providers/ThemeProvider";
|
|
||||||
import { useHeaderHeight } from '@react-navigation/elements';
|
import { useHeaderHeight } from '@react-navigation/elements';
|
||||||
import { router, Stack, useLocalSearchParams } from "expo-router";
|
import { router, Stack, useLocalSearchParams } from "expo-router";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
@@ -386,6 +386,7 @@ export default function DiscussionDetail() {
|
|||||||
desc={item.comment}
|
desc={item.comment}
|
||||||
rightBottomInfo={item.isEdited ? "Edited" : ""}
|
rightBottomInfo={item.isEdited ? "Edited" : ""}
|
||||||
descEllipsize={detailMore.includes(item.id) ? false : true}
|
descEllipsize={detailMore.includes(item.id) ? false : true}
|
||||||
|
bgColor="transparent"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
setDetailMore((prev: any) => {
|
setDetailMore((prev: any) => {
|
||||||
if (prev.includes(item.id)) {
|
if (prev.includes(item.id)) {
|
||||||
@@ -562,7 +563,6 @@ export default function DiscussionDetail() {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ export default function DiscussionDivision() {
|
|||||||
</View>
|
</View>
|
||||||
}
|
}
|
||||||
rightBottomInfo={item.total_komentar + ' Komentar'}
|
rightBottomInfo={item.total_komentar + ' Komentar'}
|
||||||
|
bgColor="transparent"
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -619,7 +619,6 @@ export default function DocumentDivision() {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -298,7 +298,6 @@ export default function InformationDivision() {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Keluar"
|
confirmText="Keluar"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -160,7 +160,6 @@ export default function Profile() {
|
|||||||
onCancel={() => setShowLogoutModal(false)}
|
onCancel={() => setShowLogoutModal(false)}
|
||||||
confirmText="Keluar"
|
confirmText="Keluar"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ export default function HeaderRightAnnouncementDetail({ id }: Props) {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ export default function HeaderRightCalendarDetail({ id, idReminder }: Props) {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -219,7 +219,6 @@ export default function MenuBottomSelectDocument({ onDone }: Props) {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -184,7 +184,6 @@ export default function HeaderRightProjectDetail({ id, status }: Props) {
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ModalFloat
|
<ModalFloat
|
||||||
|
|||||||
@@ -206,7 +206,6 @@ export default function SectionFile({ status, member, refreshing }: { status: nu
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -143,7 +143,6 @@ export default function SectionLink({ status, member, refreshing }: { status: nu
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -190,7 +190,6 @@ export default function SectionMember({ status, refreshing }: { status: number |
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Keluarkan"
|
confirmText="Keluarkan"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -235,7 +235,6 @@ export default function SectionTanggalTugasProject({ status, member, refreshing
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ModalSelect
|
<ModalSelect
|
||||||
|
|||||||
@@ -190,7 +190,6 @@ export default function HeaderRightTaskDetail({ id, division, status, isAdminDiv
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ModalFloat
|
<ModalFloat
|
||||||
|
|||||||
@@ -201,7 +201,6 @@ export default function SectionFileTask({ refreshing, isMemberDivision }: { refr
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ export default function SectionLinkTask({ refreshing, isMemberDivision }: { refr
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -201,7 +201,6 @@ export default function SectionMemberTask({ refreshing, isAdminDivision }: { ref
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Keluarkan"
|
confirmText="Keluarkan"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -234,7 +234,6 @@ export default function SectionTanggalTugasTask({ refreshing, isMemberDivision }
|
|||||||
onCancel={() => setShowDeleteModal(false)}
|
onCancel={() => setShowDeleteModal(false)}
|
||||||
confirmText="Hapus"
|
confirmText="Hapus"
|
||||||
cancelText="Batal"
|
cancelText="Batal"
|
||||||
isDestructive
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ModalSelect
|
<ModalSelect
|
||||||
|
|||||||
Reference in New Issue
Block a user