-
Notifications
You must be signed in to change notification settings - Fork 6
Enhancement/libraries updates #40
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
Conversation
updated crashlytics updated build graddle added view binding
removed deprecated code
when (message) { | ||
"" -> builder.setMessage(context.getString(R.string.generic_error)) | ||
null -> builder.setMessage(context.getString(R.string.generic_error)) | ||
else -> builder.setMessage(message) | ||
} |
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.
try with message.isNullOrEmpty()
when (message) { | |
"" -> builder.setMessage(context.getString(R.string.generic_error)) | |
null -> builder.setMessage(context.getString(R.string.generic_error)) | |
else -> builder.setMessage(message) | |
} | |
message = if(message.isNullOrEmpty()) | |
context.getString(R.string.generic_error) | |
else | |
message | |
builder.setMessage(message) | |
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.
done!
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.
💪
What's in
removed deprecated crashlytics
updated libraries
moved dialog logic to an object