This commit is contained in:
ammarahm-ed
2020-12-29 17:21:19 +05:00
parent 8eeb66e0e7
commit e5eb0f2d64
4 changed files with 3 additions and 6 deletions

View File

@@ -137,7 +137,6 @@ export const ActionSheetTagsSection = ({item, close}) => {
t.title.startsWith(query) && !note.tags.find((n) => n === t.title),
);
} else {
console.log(note.tags);
_suggestions = tags
.sort(function (x, y) {
return x.dateEdited - y.dateEdited;

View File

@@ -38,9 +38,8 @@ const ColorItem = ({item, index}) => {
const [headerTextState, setHeaderTextState] = useState(null);
const onHeaderStateChange = (event) => {
console.log(event);
if (event.id === item.id) {
console.log('here');
setHeaderTextState(event);
} else {
setHeaderTextState(null);

View File

@@ -15,7 +15,6 @@ export const UserSection = ({noTextMode}) => {
const [state, dispatch] = useTracked();
const {colors, syncing, user, lastSynced} = state;
console.log(lastSynced);
return user && user?.email ? (
<View
style={{

View File

@@ -55,7 +55,7 @@ const SimpleList = ({
);
const insets = useSafeAreaInsets();
const {width, fontScale} = useWindowDimensions();
const {width, fontScale,height} = useWindowDimensions();
const listData = data;
const dataType = type;
@@ -131,7 +131,7 @@ const SimpleList = ({
style={[
{
backgroundColor: colors.bg,
height: dHeight - 250 - insets.top,
height: height - 250 - insets.top,
width: '100%',
},
]}>