Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
at main 13 lines 389 B view raw
1import { PERMISSIONS } from "@hey/data/constants"; 2import ProToggle from "./ProToggle"; 3 4const DefaultToNameToggle = () => ( 5 <ProToggle 6 description="Show profile name instead of username across the feeds" 7 group={PERMISSIONS.PREFER_NAME_IN_FEED} 8 heading="Prefer profile name" 9 selectIsOn={(account) => account.preferNameInFeed} 10 /> 11); 12 13export default DefaultToNameToggle;