Files
SpotiFLAC-Mobile/lib/services/scrobbling
zarzet 2e5599466e perf(app): fewer rebuilds, repaints and preference writes
A broad runtime pass, reviewed hunk by hunk. Kept are the changes
that leave behaviour and appearance as they were:

- Lists and rows: the swipe background, the track card shape morph
  and the queue artwork morph build their animation only while it
  runs; filtered lists and completion lookups are cached or indexed.
- Player: provider watches hoisted out of per-line builders, repaint
  boundaries around the cover, backdrop and controls, idle timers and
  shimmer stop while the route is hidden or the app is paused.
- Painters: the equalizer grid, the compare selection and the squircle
  path no longer redo static work on every frame.
- Startup and settings: extension storage prepares beside the settings
  load, the theme writes only the keys that changed, and one-off
  cleanups record that they ran.
- Scrobbling ignores position-only ticks, a received lyrics
  translation update is compared directly, and large native data job
  payloads encode off the main isolate.

Left out on purpose: SQLite pragmas and a new index (unmeasured),
the search prefilter for albums and artists, the lyric line rework and
word sweep steps, cover fade changes, sheet sizing, audio writer
timing, widget cover caching, and all Swift changes, which cannot be
compiled here.

Fixed on the way in:

- A batched download status update kept the old path and error where
  the direct update clears them.
- The romanizer shortcut skipped 52 letters outside the Latin
  alphabet that sit in symbol blocks, such as the ohm sign.
- The two lazy morph states created a second animation controller on
  a single ticker provider, which asserts the second time a row
  becomes the current song.
2026-11-22 17:21:02 +07:00
..