Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/renderer/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
openGitHubNotifications,
openGitHubPulls,
} from '../utils/links';
import { getNotificationCount } from '../utils/notifications';
import { getNotificationCount } from '../utils/notifications/notifications';
import { LogoIcon } from './icons/LogoIcon';

export const Sidebar: FC = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/context/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { mockSingleNotification } from '../utils/api/__mocks__/response-mocks';
import * as apiRequests from '../utils/api/request';
import * as comms from '../utils/comms';
import { Constants } from '../utils/constants';
import * as notifications from '../utils/notifications';
import * as notifications from '../utils/notifications/notifications';
import * as storage from '../utils/storage';
import { AppContext, AppProvider, defaultSettings } from './App';

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/context/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import {
updateTrayTitle,
} from '../utils/comms';
import { Constants } from '../utils/constants';
import { getNotificationCount } from '../utils/notifications';
import { getNotificationCount } from '../utils/notifications/notifications';
import { clearState, loadState, saveState } from '../utils/storage';
import { getColorModeFromTheme, setTheme } from '../utils/theme';
import { zoomPercentageToLevel } from '../utils/zoom';
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/hooks/useNotifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import {
markNotificationThreadAsRead,
} from '../utils/api/client';
import { isMarkAsDoneFeatureSupported } from '../utils/features';
import { triggerNativeNotifications } from '../utils/notifications/native';
import {
getAllNotifications,
setTrayIconColor,
triggerNativeNotifications,
} from '../utils/notifications';
} from '../utils/notifications/notifications';
import { removeNotifications } from '../utils/notifications/remove';

interface NotificationsState {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/routes/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { AccountNotifications } from '../components/notifications/AccountNotific
import { AppContext } from '../context/App';
import { getAccountUUID } from '../utils/auth/utils';
import { Errors } from '../utils/errors';
import { getNotificationCount } from '../utils/notifications';
import { getNotificationCount } from '../utils/notifications/notifications';

export const NotificationsRoute: FC = () => {
const { notifications, status, globalError, settings } =
Expand Down
203 changes: 0 additions & 203 deletions src/renderer/utils/notifications.test.ts

This file was deleted.

Loading
Loading