Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Only show Playlist "Storage almost full" message once per day #7869

Closed
ahmed-shehata opened this issue Aug 11, 2023 · 1 comment
Closed

Only show Playlist "Storage almost full" message once per day #7869

ahmed-shehata opened this issue Aug 11, 2023 · 1 comment

Comments

@ahmed-shehata
Copy link
Contributor

ahmed-shehata commented Aug 11, 2023

Problem Description

"Storage almost full" message keeps appearing every time an item is added to playlist. I believe it should only show at most once per day.

Feature Overview

The popup's nag is pretty annoying for frequent users of the Playlist feature.

Design

image

Implementation Details

#7870

User Experience

  1. Have low disk space
  2. Add video to playlist
  3. See popup for low disk space only once per day (24 hrs)

Additional information

@hkarmoush
Copy link
Contributor

Does it make sense to persist a dictionary in UserDefaults? the key being the DateTime object for each day and a boolean value determined upon the popup dismissal?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants