commit
173d195ff2
2 changed files with 4 additions and 7 deletions
|
@ -98,10 +98,7 @@ class ChannelPage extends React.PureComponent<Props> {
|
||||||
icon={ICONS.GLOBE}
|
icon={ICONS.GLOBE}
|
||||||
label={__('Share Channel')}
|
label={__('Share Channel')}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
openModal(
|
openModal(MODALS.SOCIAL_SHARE, { uri, speechShareable: true, isChannel: true })
|
||||||
{ id: MODALS.SOCIAL_SHARE },
|
|
||||||
{ uri, speechShareable: true, isChannel: true }
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,7 +16,7 @@ import {
|
||||||
creditsToString,
|
creditsToString,
|
||||||
selectPendingById,
|
selectPendingById,
|
||||||
selectMyClaimsWithoutChannels,
|
selectMyClaimsWithoutChannels,
|
||||||
doError
|
doError,
|
||||||
} from 'lbry-redux';
|
} from 'lbry-redux';
|
||||||
import { doOpenModal } from 'redux/actions/app';
|
import { doOpenModal } from 'redux/actions/app';
|
||||||
import { selectosNotificationsEnabled } from 'redux/selectors/settings';
|
import { selectosNotificationsEnabled } from 'redux/selectors/settings';
|
||||||
|
@ -99,7 +99,7 @@ export const doUploadThumbnail = (filePath: string, nsfw: boolean) => (
|
||||||
type: ACTIONS.UPDATE_PUBLISH_FORM,
|
type: ACTIONS.UPDATE_PUBLISH_FORM,
|
||||||
data: { uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN },
|
data: { uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN },
|
||||||
},
|
},
|
||||||
dispatch(doOpenModal({ id: MODALS.ERROR, error }))
|
dispatch(doOpenModal(MODALS.ERROR, { error }))
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -298,7 +298,7 @@ export const doPublish = (params: PublishParams) => (
|
||||||
|
|
||||||
const failure = error => {
|
const failure = error => {
|
||||||
dispatch({ type: ACTIONS.PUBLISH_FAIL });
|
dispatch({ type: ACTIONS.PUBLISH_FAIL });
|
||||||
dispatch(doError(error.message))
|
dispatch(doError(error.message));
|
||||||
};
|
};
|
||||||
|
|
||||||
return Lbry.publish(publishPayload).then(success, failure);
|
return Lbry.publish(publishPayload).then(success, failure);
|
||||||
|
|
Loading…
Reference in a new issue