Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable link option on secondary device #1011

Merged
merged 3 commits into from
Mar 26, 2020

Conversation

Bilb
Copy link
Collaborator

@Bilb Bilb commented Mar 26, 2020

Disable the settings button allowing to linking a new device when the current device is already a current device

@Bilb Bilb requested review from Mikunj and neuroscr March 26, 2020 04:11
@Bilb Bilb force-pushed the disable-link-option-on-secondary-device branch from 8b3ea55 to c81fca5 Compare March 26, 2020 04:47
Copy link

@Mikunj Mikunj left a comment

Choose a reason for hiding this comment

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

Just a minor thing, looks good otherwise

ts/components/session/settings/SessionSettings.tsx Outdated Show resolved Hide resolved
@oxen-io oxen-io deleted a comment from Bilb Mar 26, 2020
Copy link

@neuroscr neuroscr left a comment

Choose a reason for hiding this comment

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

Looks fine. Just needs Mik's comment addressed. I'd suggest some more comments.

For example in SessionSettingsHeader.tsx we just set disableLinkDeviceButon to true and note about how it's detected turned on, maybe good. Just weird to see an option like that hard coded.

@Bilb Bilb merged commit e4f52d0 into oxen-io:clearnet Mar 26, 2020
@Bilb Bilb deleted the disable-link-option-on-secondary-device branch March 26, 2020 22:34
@nielsandriesse
Copy link

Nice, we need this.

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

Successfully merging this pull request may close these issues.

None yet

4 participants