#1097 fixed relaunch intent extras check
This commit is contained in:
parent
39bb9251dc
commit
5498b5d4e5
2 changed files with 2 additions and 2 deletions
|
@ -631,7 +631,7 @@ class _AvesAppState extends State<AvesApp> with WidgetsBindingObserver {
|
||||||
final shouldReset = _exitedMainByPop;
|
final shouldReset = _exitedMainByPop;
|
||||||
_exitedMainByPop = false;
|
_exitedMainByPop = false;
|
||||||
|
|
||||||
if (!shouldReset && (intentData ?? {}).isEmpty) {
|
if (!shouldReset && (intentData ?? {}).values.whereNotNull().isEmpty) {
|
||||||
reportService.log('Relaunch');
|
reportService.log('Relaunch');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,7 +107,7 @@ class _HomePageState extends State<HomePage> {
|
||||||
unawaited(appInventory.initAppNames());
|
unawaited(appInventory.initAppNames());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (intentData.isNotEmpty) {
|
if (intentData.values.whereNotNull().isNotEmpty) {
|
||||||
await reportService.log('Intent data=$intentData');
|
await reportService.log('Intent data=$intentData');
|
||||||
switch (intentAction) {
|
switch (intentAction) {
|
||||||
case IntentActions.view:
|
case IntentActions.view:
|
||||||
|
|
Loading…
Reference in a new issue