Fix nullchecks
This commit is contained in:
parent
aa67607596
commit
414ca025a9
1 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,10 @@ class Callbacks {
|
||||||
Function()? updateCheckPage;
|
Function()? updateCheckPage;
|
||||||
|
|
||||||
Future<void> dispatch() async {
|
Future<void> dispatch() async {
|
||||||
if (mainPage != null) mainPage.call();
|
if (mainPage != null) mainPage!.call();
|
||||||
if (filtersPage != null) filtersPage.call();
|
if (filtersPage != null) filtersPage!.call();
|
||||||
if (dexDisplay != null) dexDisplay.call();
|
if (dexDisplay != null) dexDisplay!.call();
|
||||||
if (updateCheckPage != null) updateCheckPage.call();
|
if (updateCheckPage != null) updateCheckPage!.call();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue