mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +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
@@ -5,6 +5,7 @@ import { ListItem } from '../../../../ui/components/ListItem';
|
||||
import { PictureResponsive } from '../../../../ui/components/PictureResponsive';
|
||||
import { MarketplaceListing } from '../../../../common/typings/marketplace';
|
||||
import { ListingActions } from './ListingActions';
|
||||
import { PictureReveal } from '../../../../ui/components/PictureReveal';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
@@ -49,7 +50,9 @@ export const SelloutItem = (listing: MarketplaceListing) => {
|
||||
</div>
|
||||
|
||||
{listing.url ? (
|
||||
<PictureResponsive src={listing.url} alt={`${listing.name}`} />
|
||||
<PictureReveal>
|
||||
<PictureResponsive src={listing.url} alt={`${listing.name}`} />
|
||||
</PictureReveal>
|
||||
) : (
|
||||
<Typography style={{ margin: 10 }}>
|
||||
No image provided{' '}
|
||||
|
||||
Reference in new issue
Block a user