Skip to content

Commit

Permalink
fix: Remove screen id from share screen dialogue
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Aug 13, 2023
1 parent db92518 commit b49117c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/features/desktopCapturer/Component.js
@@ -1,15 +1,15 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { observer } from 'mobx-react';
import injectSheet from 'react-jss';
import { defineMessages, intlShape } from 'react-intl';
import { H1 } from '@meetfranz/ui';
import { Button } from '@meetfranz/forms';
import { H1 } from '@meetfranz/ui';
import { ipcRenderer } from 'electron';
import { observer } from 'mobx-react';
import PropTypes from 'prop-types';
import { Component } from 'react';
import { defineMessages, intlShape } from 'react-intl';
import injectSheet from 'react-jss';

import SourceItem from './sourceItem';
import { state } from '.';
import { RELAY_DESKTOP_CAPTURER_SOURCES_IPC_KEY, REQUEST_DESKTOP_CAPTURER_SOURCES_IPC_KEY } from './config';
import SourceItem from './sourceItem';

const messages = defineMessages({
headline: {
Expand Down Expand Up @@ -113,7 +113,7 @@ export default @injectSheet(styles) @observer class DesktopCapturerModal extends
{(sources.filter(source => !source.displayId) || []).map(source => (
<SourceItem
key={source.id}
name={`${source.id} ${source.name}`}
name={source.name}
isActive={source.id === state.selectedSource}
thumbnail={source.thumbnail}
appIcon={source.appIcon}
Expand Down

0 comments on commit b49117c

Please sign in to comment.