* Open Native Image Viewer on long pressing a photo inside LoyaltyCardViewActivity
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: Manan Jhaveri <incrediblemanan@gmail.com>
* [UI]Add colors for navigationBarColor
* Add color on Navigation Bar to more activities
* Fix navigation colour on non-view layouts
Co-authored-by: Sylvia van Os <sylvia@hackerchick.me>
- Implement new bottom bar in card view with previous/next
- Refactor info sheet into info button in new bottom bar
- Make fav icon mutable before tinting, add prev/next transitions
- Update metadata
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Katharine Chui <kwchuiaa@connect.ust.hk>
I don't understand why it can be null. I don't understand why everything
still looks fine when I do this. But it fixes a crash so hey, that's
good right?
920: Crash on clicking "Add from image" button in scan activity #856 r=TheLastProject a=alajemba-vik
This PR contains a fix for issue #856, which concerns a crash that occurs when no activity can handle the intent to pick an image file.
### The simplest way to reproduce
* Disable all the gallery apps (e.g., Google Photos)
* Go to the ScanActivity by clicking the FAB on the home screen
* The app crashes when you click the button "Select image from gallery"
### Expected behavior
Clicking that button should have launched a gallery app, or displayed a disambiguation dialog if there is more than one app that can handle the intent being invoked.
### Solution
Wrapped the call to launch in a try-catch block.
Co-authored-by: Alajemba <alajemba.dev@gmail.com>
Stocard appears to keep images for deleted cards, which causes some
cards to have only images and no data, making them impossible to import.
This is most likely a bug on Stocard's side. As a workaround, we ignore
cards with no data file.