Skip to content

Commit 4c36718

Browse files
committed
remove local getLinksFromEvent function
1 parent 14c2f6f commit 4c36718

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

source/views/calendar/calendar-util.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import {Platform, Alert, Linking, Share} from 'react-native'
44
import RNCalendarEvents from 'react-native-calendar-events'
5-
import getUrls from 'get-urls'
65
import type {EventType} from './types'
76
import {notify} from '@frogpond/analytics'
87
import {detailTimes} from './times'
@@ -91,12 +90,6 @@ async function requestCalendarAccess(): Promise<boolean> {
9190
return true
9291
}
9392

94-
export function getLinksFromEvent(event: EventType) {
95-
// Clean up returns, newlines, tabs, and misc symbols...
96-
// ...and search for links in the text
97-
return Array.from(getUrls(event.description))
98-
}
99-
10093
export function getTimes(event: EventType) {
10194
const {allDay, start, end} = detailTimes(event)
10295

0 commit comments

Comments
 (0)