mirror of
https://github.com/mue/mue.git
synced 2026-07-19 15:04:11 +02:00
feat: Reminder settings UI
This commit is contained in:
@@ -35,6 +35,8 @@ const downloadImage = async (info) => {
|
||||
variables.stats.postEvent('feature', 'Background download');
|
||||
};
|
||||
|
||||
|
||||
|
||||
// todo: copy link to unsplash/pexels page not image url
|
||||
const copyImage = (info) => {
|
||||
variables.stats.postEvent('feature', 'Background copied');
|
||||
@@ -134,6 +136,7 @@ export default function PhotoInformation({ info, url, api }) {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
const downloadEnabled =
|
||||
localStorage.getItem('downloadbtn') === 'true' && !info.offline && !info.photographerURL && api;
|
||||
const downloadBackground = () => {
|
||||
@@ -279,6 +282,7 @@ export default function PhotoInformation({ info, url, api }) {
|
||||
<Download onClick={() => downloadImage(info)} />
|
||||
</Tooltip>
|
||||
</div>
|
||||
<span className='subtitle' style={{marginBottom: '20px'}}>Description</span>
|
||||
<div className="extra-content">
|
||||
<span className="subtitle">
|
||||
{variables.language.getMessage(
|
||||
|
||||
Reference in New Issue
Block a user