Skip to content

Commit

Permalink
Merge branch 'main' into ALTME
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Oct 30, 2024
2 parents cb0a3d5 + c5418bc commit 9a08d95
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/dashboard/connection/operation/view/operation_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ class _OperationViewState extends State<OperationView> {

return PopScope(
onPopInvoked: (didPop) {
if (didPop) {
return;
}
context.read<OperationCubit>().rejectOperation(
connectionBridgeType: widget.connectionBridgeType,
);
Expand Down
5 changes: 4 additions & 1 deletion lib/dashboard/src/view/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@ class _DashboardViewState extends State<DashboardView> {

return PopScope(
canPop: false,
onPopInvoked: (_) async {
onPopInvoked: (didPop) async {
if (didPop) {
return;
}
if (scaffoldKey.currentState!.isDrawerOpen) {
// Navigator.of(context).pop();
}
Expand Down
3 changes: 2 additions & 1 deletion lib/scan/cubit/scan_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,8 @@ class ScanCubit extends Cubit<ScanState> {

final String responseOrRedirectUri =
uri.queryParameters['redirect_uri'] ??
uri.queryParameters['response_uri']!;
uri.queryParameters['response_uri'] ??
uri.origin;

await activityLogManager.saveLog(
LogData(
Expand Down

0 comments on commit 9a08d95

Please sign in to comment.