Expose a trivial accessor for account state

RESOLVED FIXED

Status

()

Firefox for iOS
Firefox Accounts
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: rnewman, Assigned: rnewman)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

47 bytes, text/x-github-pull-request
rnewman
: review+
Details | Review | Splinter Review
(Assignee)

Description

3 years ago
We have a proliferation of `profile.getAccount() == nil` checks throughout our codebase.

I'd like to add two things:

  hasAccount -> Bool
  hasSyncableAccount -> Bool

The latter is a subset, and implies that no action is needed to make the account usable.
(Assignee)

Comment 1

3 years ago
Created attachment 8642611 [details] [review]
Pull req.
Attachment #8642611 - Flags: review?
(Assignee)

Updated

3 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.