IceCubesApp/IceCubesApp
Paul Schuetz 59b16d86a7
Fix the lag of the display setting sliders (#1342) close #1341
* Fix the lag of the display setting sliders

The sliders in the display settings were laggy because changing the value in the
theme class needs comparatively much time. This writing to the class is now
only done when the user lets go of the slider, so sliding it is responsive. I
was unable to make writing to the class more responsive, the example post needs
therefore a short time before it accepts the new values. Furthermore, all
AppStorage keys are now realized with a ThemeKey to clean the class up.
Fixes #1341

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Remove unnecessary changes to theme

The changing of theme keys is unnecessary for the fix oft the lag, so it's
removed.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Rework fix to be more similar to other lag fixes

The fix now uses the ...LocalValues class, which published updates only every
half a second.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-31 15:34:24 +02:00
..
App Fix the lag of the display setting sliders (#1342) close #1341 2023-03-31 15:34:24 +02:00
Assets.xcassets Fix icon switching on iPad (#1310) 2023-03-26 14:19:34 +02:00
Embeds Update sounds 2023-03-06 21:04:46 +01:00
Resources Polish localization update (#1328) 2023-03-30 08:04:28 +02:00
IceCubesApp.entitlements Use communication notifications 2023-02-14 08:54:23 +01:00
Info.plist Enable landscape on iOS 2023-02-18 07:42:35 +01:00
Secret.plist Translate Toot using DeepL close #153 2023-01-21 09:58:38 +01:00