Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

cleanup

ammarahm-ede5eb0f2d6407
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
index fe270ea6c..a8bb32935 100644
--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
@@ -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;
diff --git a/apps/mobile/src/components/Menu/ColorSection.js b/apps/mobile/src/components/Menu/ColorSection.js
index 670caaf16..eeb6fd001 100644
--- a/apps/mobile/src/components/Menu/ColorSection.js
+++ b/apps/mobile/src/components/Menu/ColorSection.js
@@ -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);
diff --git a/apps/mobile/src/components/Menu/UserSection.js b/apps/mobile/src/components/Menu/UserSection.js
index baaa2e183..20b1e61cf 100644
--- a/apps/mobile/src/components/Menu/UserSection.js
+++ b/apps/mobile/src/components/Menu/UserSection.js
@@ -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={{
diff --git a/apps/mobile/src/components/SimpleList/index.js b/apps/mobile/src/components/SimpleList/index.js
index 74512065c..13e27f5e0 100644
--- a/apps/mobile/src/components/SimpleList/index.js
+++ b/apps/mobile/src/components/SimpleList/index.js
@@ -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%',
},
]}>