mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-29 07:18:49 +02:00
The sigma-18 BackdropFilter re-filters everything scrolling underneath every frame. The startup runtime profile now feeds a lowEndDevice provider; those devices get an opaque bottom bar instead.
7 lines
313 B
Dart
7 lines
313 B
Dart
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
|
|
/// True on low-end hardware (arm32-only or low-RAM, resolved at startup in
|
|
/// main.dart via a ProviderScope override). UI uses it to skip expensive
|
|
/// effects like the shell's backdrop blur.
|
|
final lowEndDeviceProvider = Provider<bool>((ref) => false);
|