-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Crash / NPE when viewing a trip with missing line style #16
Comments
Thanks for the great bug report! :) However, I don't think it can be reproduced as stated. Looks more like one of your favorite trips contains a line that has no color defined. Could you please provide the trip and the transport network? |
Thanks for your fast response and you were right. I am using the DB(Deutsche Bahn) Provider for my local public transport, which usually works fine. Maybe it is a good idea to provide a default color to the apps line boxes, in case there is no color provided by your app / public transport enabler. |
Do you have an example for a trip that includes this AST? It does not have to be the real trip you are using in your area. Any example that causes the issue works for me testing a fix and a default color. |
Yes, here you go:
If you are about to add the colors for the AST here is an its icon. |
I now handled the missing AST style to prevent crashes and passed the style issue to upstream. |
Yes, I guess that's the right fix. Lines are not guaranteed to have a style. |
Okay thanks for that really fast fix. I am looking forward to the next version of Liberario :) |
Steps to reproduce
Logcat
BTW: Thanks for Liberario, its awesome :D
The text was updated successfully, but these errors were encountered: