Auto-sync: 20260318_160000
This commit is contained in:
parent
5326561218
commit
7a1382acdb
1 changed files with 6 additions and 4 deletions
|
|
@ -127,11 +127,13 @@ class _UpdateWrapperState extends State<UpdateWrapper> {
|
||||||
// Su iOS e macOS usiamo "upgrader" che si occupa di mostrare il pop-up nativo
|
// Su iOS e macOS usiamo "upgrader" che si occupa di mostrare il pop-up nativo
|
||||||
if (!kIsWeb && (Platform.isIOS || Platform.isMacOS)) {
|
if (!kIsWeb && (Platform.isIOS || Platform.isMacOS)) {
|
||||||
return UpgradeAlert(
|
return UpgradeAlert(
|
||||||
|
dialogStyle: (Platform.isIOS || Platform.isMacOS)
|
||||||
|
? UpgradeDialogStyle.cupertino
|
||||||
|
: UpgradeDialogStyle.material,
|
||||||
|
showIgnore: false, // <-- Spostato qui
|
||||||
|
showLater: true, // <-- Spostato qui
|
||||||
upgrader: Upgrader(
|
upgrader: Upgrader(
|
||||||
debugDisplayAlways: true, // <--- AGGIUNGI QUESTA RIGA PER IL TEST
|
// debugDisplayAlways: true, // <--- Scommenta questa riga se vuoi testare la UI del pop-up sul Mac ora!
|
||||||
dialogStyle: Platform.isIOS ? UpgradeDialogStyle.cupertino : UpgradeDialogStyle.material,
|
|
||||||
showIgnore: false, // Togliamo il tasto "Ignora per sempre"
|
|
||||||
showLater: true, // Lasciamo il tasto "Ricordamelo più tardi"
|
|
||||||
),
|
),
|
||||||
child: widget.child,
|
child: widget.child,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue