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), t.title.startsWith(query) && !note.tags.find((n) => n === t.title),
); );
} else { } else {
console.log(note.tags);
_suggestions = tags _suggestions = tags
.sort(function (x, y) { .sort(function (x, y) {
return x.dateEdited - y.dateEdited; return x.dateEdited - y.dateEdited;

View File

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

View File

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

View File

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