42 lines
713 B
Plaintext
42 lines
713 B
Plaintext
# Imedia Photos - V2.8.1 Fix Const Delay
|
|
|
|
Projet cible :
|
|
|
|
D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
|
|
|
|
## Base
|
|
|
|
Cette version part de la V2.8 Settings.
|
|
|
|
## Problème corrigé
|
|
|
|
Erreur build :
|
|
|
|
```text
|
|
Constant evaluation error
|
|
The invocation of 'autoDelaySeconds' is not allowed in a constant expression.
|
|
```
|
|
|
|
Cause :
|
|
|
|
Le texte dynamique suivant était dans un `const Row` :
|
|
|
|
```dart
|
|
Text('${AppSettings.autoDelaySeconds} secondes par photo')
|
|
```
|
|
|
|
## Correction
|
|
|
|
Le `Row` n'est plus `const`.
|
|
Les widgets internes qui peuvent rester constants gardent leur `const`.
|
|
|
|
## Installation
|
|
|
|
```powershell
|
|
cd D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
|
|
|
|
flutter clean
|
|
flutter pub get
|
|
flutter run -d 192.168.1.8:5555
|
|
```
|