mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
fix announcement bottom padding
This commit is contained in:
@@ -10,7 +10,6 @@ export const Announcement = ({ color }) => {
|
|||||||
const announcements = useMessageStore(state => state.announcements);
|
const announcements = useMessageStore(state => state.announcements);
|
||||||
let announcement = announcements.length > 0 ? announcements[0] : null;
|
let announcement = announcements.length > 0 ? announcements[0] : null;
|
||||||
const selectionMode = useSelectionStore(state => state.selectionMode);
|
const selectionMode = useSelectionStore(state => state.selectionMode);
|
||||||
|
|
||||||
return !announcement || selectionMode ? null : (
|
return !announcement || selectionMode ? null : (
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
@@ -26,7 +25,8 @@ export const Announcement = ({ color }) => {
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
backgroundColor: colors.nav
|
backgroundColor: colors.nav,
|
||||||
|
paddingBottom: 12
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<View>
|
<View>
|
||||||
|
|||||||
Reference in New Issue
Block a user