mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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={{
|
||||
|
||||
@@ -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%',
|
||||
},
|
||||
]}>
|
||||
|
||||
Reference in New Issue
Block a user