Closed
Bug 1190564
Opened 10 years ago
Closed 10 years ago
Expose a trivial accessor for account state
Categories
(Firefox for iOS :: Firefox Accounts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: rnewman, Assigned: rnewman)
References
Details
Attachments
(1 file)
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•10 years ago
|
||
Attachment #8642611 -
Flags: review?
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8642611 [details] [review]
Pull req.
bnicholson reviewed on IRC.
https://github.com/mozilla/firefox-ios/commit/2cfdd93ce338bd2592230446778eaffacd47ce7c
Attachment #8642611 -
Flags: review? → review+
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•