Skip to content

Commit

Permalink
Removing unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
andrehgdias committed Oct 15, 2024
1 parent e52423c commit e0a258e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 15 deletions.
3 changes: 1 addition & 2 deletions src/calendar-app/calendar/gui/CalendarRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ import m, { Children, VnodeDOM } from "mithril"

import { SelectableRowContainer, SelectableRowContainerAttrs, SelectableRowSelectedSetter } from "../../../common/gui/SelectableRowContainer.js"
import { VirtualRow } from "../../../common/gui/base/ListUtils.js"
import { getTimeZone, isBirthdayEvent } from "../../../common/calendar/date/CalendarUtils.js"
import { getTimeZone } from "../../../common/calendar/date/CalendarUtils.js"
import { ViewHolder } from "../../../common/gui/base/List.js"
import { styles } from "../../../common/gui/styles.js"
import { DefaultAnimationTime } from "../../../common/gui/animation/Animations.js"

import { formatEventDuration, getDisplayEventTitle, getEventColor, getGroupColors } from "./CalendarGuiUtils.js"
import { GroupColors } from "../view/CalendarView.js"
import { CLIENT_ONLY_CALENDAR_BIRTHDAYS_BASE_ID } from "../../../common/api/common/TutanotaConstants.js"

export class CalendarRow implements VirtualRow<CalendarEvent> {
top: number
Expand Down
10 changes: 2 additions & 8 deletions src/calendar-app/calendar/gui/EditCalendarDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@ import Stream from "mithril/stream"
import { TextField, TextFieldType } from "../../../common/gui/base/TextField.js"
import { lang, type TranslationKey } from "../../../common/misc/LanguageViewModel.js"
import type { TranslationKeyType } from "../../../common/misc/TranslationKey.js"
import { deepEqual, isNotNull, lazyStringValue } from "@tutao/tutanota-utils"
import {
AlarmInterval,
CalendarType,
isClientOnlyCalendarType,
isExternalCalendarType,
isNormalCalendarType,
} from "../../../common/calendar/date/CalendarUtils.js"
import { deepEqual, isNotNull } from "@tutao/tutanota-utils"
import { AlarmInterval, CalendarType, isExternalCalendarType, isNormalCalendarType } from "../../../common/calendar/date/CalendarUtils.js"
import { RemindersEditor } from "./RemindersEditor.js"
import { generateRandomColor } from "./CalendarGuiUtils.js"
import { checkURLString, isIcal } from "../../../common/calendar/import/ImportExportUtils.js"
Expand Down
1 change: 0 additions & 1 deletion src/calendar-app/calendar/view/CalendarAgendaItemView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { styles } from "../../../common/gui/styles.js"
import { DefaultAnimationTime } from "../../../common/gui/animation/Animations.js"
import { px } from "../../../common/gui/size.js"
import { TabIndex } from "../../../common/api/common/TutanotaConstants.js"
import { lang } from "../../../common/misc/LanguageViewModel.js"
import { getDisplayEventTitle } from "../gui/CalendarGuiUtils.js"
import { isBirthdayEvent } from "../../../common/calendar/date/CalendarUtils.js"

Expand Down
1 change: 0 additions & 1 deletion src/calendar-app/calendar/view/CalendarDayEventsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import type { GroupColors } from "./CalendarView"
import { styles } from "../../../common/gui/styles"
import { locator } from "../../../common/api/main/CommonLocator.js"
import { CalendarTimeIndicator } from "./CalendarTimeIndicator.js"
import { lang } from "../../../common/misc/LanguageViewModel.js"
import { listIdPart } from "../../../common/api/common/utils/EntityUtils.js"

export type Attrs = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import m, { Children, Component, Vnode } from "mithril"
import { hasAlarmsForTheUser, isBirthdayEvent, isClientOnlyCalendar } from "../../../common/calendar/date/CalendarUtils"
import { hasAlarmsForTheUser, isClientOnlyCalendar } from "../../../common/calendar/date/CalendarUtils"
import { CalendarEventBubble } from "./CalendarEventBubble"
import type { CalendarEvent } from "../../../common/api/entities/tutanota/TypeRefs.js"
import type { User } from "../../../common/api/entities/sys/TypeRefs.js"
Expand Down
4 changes: 2 additions & 2 deletions src/mail-app/translations/de_sie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1800,8 +1800,8 @@ export default {
"yourFolders_action": "Ihre ORDNER",
"yourMessage_label": "Ihre Nachricht",
"you_label": "Sie",
"makeAdminPendingUserGroupKeyRotationError_msg": "Der Benutzer kann zur Zeit keine Admin-Rechte erhalten. Der Benutzer muss sich von all seinen Geräten ausloggen und neu einloggen. Anschließend kann die Aktion ausgeführt werden.",
"birthdayEvent_title": `{name} Geburtstag`,
"birthdayEventAge_title": "({age} Jahre alt)",
"makeAdminPendingUserGroupKeyRotationError_msg": "Der Benutzer kann zur Zeit keine Admin-Rechte erhalten. Der Benutzer muss sich von all seinen Geräten ausloggen und neu einloggen. Anschließend kann die Aktion ausgeführt werden."
"birthdayEventAge_title": "({age} Jahre alt)"
}
}

0 comments on commit e0a258e

Please sign in to comment.