From 1d7abf45fff23ebdf00b0c4e36ba948c39d6ff54 Mon Sep 17 00:00:00 2001 From: Kelrap Date: Tue, 28 May 2024 15:38:28 -0400 Subject: [PATCH 1/2] Keep toolbar from closing on own --- lib/pangea/choreographer/controllers/igc_controller.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/pangea/choreographer/controllers/igc_controller.dart b/lib/pangea/choreographer/controllers/igc_controller.dart index 73694e257d..92a152f4ee 100644 --- a/lib/pangea/choreographer/controllers/igc_controller.dart +++ b/lib/pangea/choreographer/controllers/igc_controller.dart @@ -12,7 +12,6 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:sentry_flutter/sentry_flutter.dart'; -import '../../../widgets/matrix.dart'; import '../../models/language_detection_model.dart'; import '../../models/span_card_model.dart'; import '../../repo/span_data_repo.dart'; @@ -237,7 +236,7 @@ class IgcController { clear() { igcTextData = null; - MatrixState.pAnyState.closeOverlay(); + // MatrixState.pAnyState.closeOverlay(); } bool get canSendMessage { From 3049cfb22762c9a38a6b1fe8e4197cb14265df2a Mon Sep 17 00:00:00 2001 From: Kelrap Date: Tue, 28 May 2024 15:39:13 -0400 Subject: [PATCH 2/2] Add comment --- lib/pangea/choreographer/controllers/igc_controller.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pangea/choreographer/controllers/igc_controller.dart b/lib/pangea/choreographer/controllers/igc_controller.dart index 92a152f4ee..646543f223 100644 --- a/lib/pangea/choreographer/controllers/igc_controller.dart +++ b/lib/pangea/choreographer/controllers/igc_controller.dart @@ -236,6 +236,7 @@ class IgcController { clear() { igcTextData = null; + // Not sure why this is here // MatrixState.pAnyState.closeOverlay(); }