mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-25 16:09:42 +01:00
mobile: remove some buttons from editor header
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user