-
Notifications
You must be signed in to change notification settings - Fork 118
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
refactor: Structural output orientations #1909
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
eeb0b30
to
b9a2bd9
Compare
Timestamp: 2021-05-11 12:00:46 |
b9a2bd9
to
3e10854
Compare
3e10854
to
c657ca2
Compare
c657ca2
to
c409718
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Code and output looks good
┌────────────────┬───────────┬─────────┐
│ ORIENTATION_ID │ NAME │ TAG │
├────────────────┼───────────┼─────────┤
│ landscape │ Landscape │ │
│ portrait │ Portrait │ default │
│ default │ Default │ │
└────────────────┴───────────┴─────────┘
|
||
override val out = outputLogger { | ||
@Suppress("UNCHECKED_CAST") | ||
(this as? List<Orientation>)?.toCliTable() ?: throwUnknownType() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual a neat way alternative 👍
Fixes #1857
Fixes #1861
Test Plan
flank firebase ios|android screen-orientations list
works like previouslyChecklist