From 0bb07bfbefa395cc99ea80ec8ca8127a47f94e6a Mon Sep 17 00:00:00 2001 From: Limezy Date: Sun, 29 Jan 2023 15:10:31 +0700 Subject: [PATCH] Update app-04-bible.patch --- sources/patches/app-04-bible.patch | 50 ++++++++++++++---------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/sources/patches/app-04-bible.patch b/sources/patches/app-04-bible.patch index 3aaf998..1d5ab5a 100644 --- a/sources/patches/app-04-bible.patch +++ b/sources/patches/app-04-bible.patch @@ -1,31 +1,29 @@ -diff --cc app/editor/menus/block.tsx -index 42269b5e4,cd6830b12..000000000 +diff --git a/app/editor/menus/block.tsx b/app/editor/menus/block.tsx +index 42269b5e4..c40350908 100644 --- a/app/editor/menus/block.tsx +++ b/app/editor/menus/block.tsx -@@@ -18,7 -18,7 +18,8 @@@ import - AttachmentIcon, - ClockIcon, - CalendarIcon, - + MathIcon, -+ BookmarkedIcon, - } from "outline-icons"; - import * as React from "react"; - import styled from "styled-components"; -@@@ -187,6 -181,13 +188,13 @@@ export default function blockMenuItems( - keywords: "notice card suggestion", - attrs: { style: "tip" }, - }, -+ { -+ name: "container_notice", -+ title: dictionary.bibleNotice, - - icon: BookmarkedIcon, -++ icon: , -+ keywords: "notice card suggestion", -+ attrs: { style: "bible" }, -+ }, - { - name: "separator", - }, +@@ -19,6 +19,7 @@ import { + ClockIcon, + CalendarIcon, + MathIcon, ++ BookmarkedIcon, + } from "outline-icons"; + import * as React from "react"; + import styled from "styled-components"; +@@ -187,6 +188,13 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] { + keywords: "notice card suggestion", + attrs: { style: "tip" }, + }, ++ { ++ name: "container_notice", ++ title: dictionary.bibleNotice, ++ icon: , ++ keywords: "notice card suggestion", ++ attrs: { style: "bible" }, ++ }, + { + name: "separator", + }, diff --git a/app/hooks/useDictionary.ts b/app/hooks/useDictionary.ts index 5b9196de5..90caf27d7 100644 --- a/app/hooks/useDictionary.ts