Auto-sync: 20260318_160000

This commit is contained in:
Paolo 2026-03-18 16:00:01 +01:00
parent 5326561218
commit 7a1382acdb

View file

@ -127,11 +127,13 @@ class _UpdateWrapperState extends State<UpdateWrapper> {
// Su iOS e macOS usiamo "upgrader" che si occupa di mostrare il pop-up nativo
if (!kIsWeb && (Platform.isIOS || Platform.isMacOS)) {
return UpgradeAlert(
dialogStyle: (Platform.isIOS || Platform.isMacOS)
? UpgradeDialogStyle.cupertino
: UpgradeDialogStyle.material,
showIgnore: false, // <-- Spostato qui
showLater: true, // <-- Spostato qui
upgrader: Upgrader(
debugDisplayAlways: true, // <--- AGGIUNGI QUESTA RIGA PER IL TEST
dialogStyle: Platform.isIOS ? UpgradeDialogStyle.cupertino : UpgradeDialogStyle.material,
showIgnore: false, // Togliamo il tasto "Ignora per sempre"
showLater: true, // Lasciamo il tasto "Ricordamelo più tardi"
// debugDisplayAlways: true, // <--- Scommenta questa riga se vuoi testare la UI del pop-up sul Mac ora!
),
child: widget.child,
);