supergeorg / Grocy-SwiftUI

A client for Grocy for macOS and iOS, written with SwiftUI
GNU General Public License v3.0
177 stars 17 forks source link

Fix: QuickScan purchase confirmation #162

Closed timia2109 closed 1 year ago

timia2109 commented 1 year ago

I fixed a bug which is bad for the user experience.

Before you had to scroll down before you can see the confirm button for your purchase: https://user-images.githubusercontent.com/6303931/235716724-142398ea-a47d-47e2-8ab0-7739133cf7bc.mp4

After I move up the relevant code the button instantly appears: https://user-images.githubusercontent.com/6303931/235716968-1db84662-9de3-43e3-8a17-656a363414ef.mp4

The first commit was required to get a successful build in XCode

supergeorg commented 1 year ago

Thanks, I didn't notice it. I hope resorting to this kind of hacks will be a thing of the past with the next UI pass for the next SwiftUI version.