-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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(browse): lint #17805
refactor(browse): lint #17805
Conversation
Glad I did this, I didn't realize Android Studio lint wasn't working correctly for me, sorry for the hassle. |
0a8f37f
to
99aac03
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.
LGTM, thanks!
@@ -858,7 +858,6 @@ open class CardBrowser : | |||
Timber.w(e, "Error Opening Note Editor") | |||
showSnackbar( | |||
R.string.multimedia_editor_something_wrong, | |||
Snackbar.LENGTH_LONG, |
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.
showSnackbar() could be written in one row now.
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.
lint likes this style, so additional lines can be added with a single line change
This causes the following error as Android Studio doesn't have SQL syntax highlighting ``` id, name or spec expected, got 'select min(due)' ``` https://issuetracker.google.com/issues/377733398
99aac03
to
9ca31c8
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.
LGTM
Fixes a few IDE lint warnings (
.isEmpty()
needed a [Mutable]Map, rather than a HashMap)I did a very quick test of the saved searched functionality, and trusting CI for the rest
Checklist