mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Feature / Streamer Mode (#159)
* feat(phone/settings): Add streamer mode setting and PictureReveal component :) * feat(phone/settings): Add PictureReveal streamer mode to twitter and improve its theme a bit
This commit is contained in:
1 parent
d841ee0958
commit
75a4eb176e
27 files changed
+175
-92
No files matched your search
@@ -4,13 +4,11 @@ import { makeStyles } from '@material-ui/core/styles';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faRetweet } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
import { ITwitterTheme } from '../../twitter.theme';
|
||||
|
||||
interface IProps {
|
||||
profileName: string;
|
||||
profileName: string;
|
||||
}
|
||||
|
||||
const useStyles = makeStyles((theme: ITwitterTheme) => ({
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
color: theme.palette.secondary.main,
|
||||
fontSize: '16px',
|
||||
@@ -18,18 +16,18 @@ const useStyles = makeStyles((theme: ITwitterTheme) => ({
|
||||
width: '100%',
|
||||
paddingBottom: '8px',
|
||||
marginBottom: '6px',
|
||||
marginTop: '-6px'
|
||||
marginTop: '-6px',
|
||||
},
|
||||
}));
|
||||
|
||||
function Retweet({ profileName }: IProps) {
|
||||
const { t } = useTranslation();
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<FontAwesomeIcon icon={faRetweet} /> {profileName} {t('APPS_TWITTER_RETWEETED')}
|
||||
</div>
|
||||
)
|
||||
const { t } = useTranslation();
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<FontAwesomeIcon icon={faRetweet} /> {profileName} {t('APPS_TWITTER_RETWEETED')}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Retweet;
|
||||
export default Retweet;
|
||||
Reference in new issue
Block a user