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

Hide download settings from the users who don't have download access #503

Merged
merged 2 commits into from
Nov 11, 2020

Conversation

Zoha131
Copy link
Contributor

@Zoha131 Zoha131 commented Oct 11, 2020

Hide download settings from the users who don't have download access to fix #495 and also add a helper method to get appropriate SettingsOptions which might be helpful in the future to introduce new Options.

In the future, if we want to add more SettingsOption then we need to change just a single file :]
Copy link
Contributor

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks sensible to me

@0xTim
Copy link
Contributor

0xTim commented Nov 11, 2020

@sammyd any objections to merging this?

@sammyd
Copy link
Collaborator

sammyd commented Nov 11, 2020

@0xTim no—looks good. Go for it. Thanks both!

@0xTim 0xTim merged commit 1d7e3ea into razeware:development Nov 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Settings: Download settings should be hidden if you don’t have access to download
3 participants