mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Added do not remember version
This commit is contained in:
parent
d9af69a240
commit
2ee2eafdca
4 changed files with 50 additions and 5 deletions
|
@ -88,7 +88,12 @@ class _UpdateModalState extends State<UpdateModal> {
|
|||
child: Text(AppLocalizations.of(context)!.download)
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
onPressed: () {
|
||||
if (doNotRemember == true) {
|
||||
appConfigProvider.setDoNotRememberVersion(widget.gitHubRelease.tagName);
|
||||
}
|
||||
Navigator.pop(context);
|
||||
},
|
||||
child: Text(AppLocalizations.of(context)!.close)
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue