Remove dead code (#9035)
This commit is contained in:
parent
d1928d2cb3
commit
19e514d83c
28 changed files with 6 additions and 412 deletions
|
@ -104,16 +104,3 @@ export const shareLocation = (
|
|||
handleShareError(error, openMenu, shareType);
|
||||
}
|
||||
};
|
||||
|
||||
export function textForLocation(
|
||||
uri: string,
|
||||
ts: number,
|
||||
description: string | null,
|
||||
): string {
|
||||
const date = new Date(ts).toISOString();
|
||||
if (description) {
|
||||
return `Location "${description}" ${uri} at ${date}`;
|
||||
} else {
|
||||
return `Location ${uri} at ${date}`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue