Skip to content

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

mobile: remove some buttons from editor header

ammarahm-ede07f32fb98e0
diff --git a/packages/editor-mobile/src/components/header.tsx b/packages/editor-mobile/src/components/header.tsx
index 8341ddea6..a045e2258 100644
--- a/packages/editor-mobile/src/components/header.tsx
+++ b/packages/editor-mobile/src/components/header.tsx
@@ -18,14 +18,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import ArrowBackIcon from "mdi-react/ArrowBackIcon";
-import CloudUploadOutlineIcon from "mdi-react/CloudUploadOutlineIcon";
import CrownIcon from "mdi-react/CrownIcon";
import DotsHorizontalIcon from "mdi-react/DotsHorizontalIcon";
import ArrowULeftTopIcon from "mdi-react/ArrowULeftTopIcon";
import ArrowURightTopIcon from "mdi-react/ArrowURightTopIcon";
import FullscreenIcon from "mdi-react/FullscreenIcon";
import MagnifyIcon from "mdi-react/MagnifyIcon";
-import BellIcon from "mdi-react/BellIcon";
import React from "react";
import { useSafeArea } from "../hooks/useSafeArea";
import { EventTypes, Settings } from "../utils";
@@ -211,31 +209,6 @@ export default function Header({
</Button>
)}
- <Button
- onPress={() => {
- post(EventTypes.reminders);
- }}
- style={{
- borderWidth: 0,
- borderRadius: 100,
- color: "var(--nn_icon)",
- marginRight: 10,
- width: 39,
- height: 39,
- display: "flex",
- justifyContent: "center",
- alignItems: "center",
- position: "relative"
- }}
- >
- <BellIcon
- size={25}
- style={{
- position: "absolute"
- }}
- color="var(--nn_pri)"
- />
- </Button>
<Button
onPress={() => {
@@ -262,32 +235,6 @@ export default function Header({
color="var(--nn_pri)"
/>
</Button>
- <Button
- onPress={() => {
- post(EventTypes.monograph);
- }}
- preventDefault={false}
- style={{
- borderWidth: 0,
- borderRadius: 100,
- color: "var(--nn_icon)",
- marginRight: 10,
- width: 39,
- height: 39,
- display: "flex",
- justifyContent: "center",
- alignItems: "center",
- position: "relative"
- }}
- >
- <CloudUploadOutlineIcon
- size={25}
- style={{
- position: "absolute"
- }}
- color="var(--nn_pri)"
- />
- </Button>
{settings.deviceMode !== "mobile" && !settings.fullscreen ? (
<Button