Merge pull request #1269 from selfisekai/flutter-3.24
chore: upgrade flutter to 3.24
This commit is contained in:
commit
6bdeba7cd7
4 changed files with 4 additions and 4 deletions
2
.github/workflows/versions.env
vendored
2
.github/workflows/versions.env
vendored
|
|
@ -1,2 +1,2 @@
|
|||
FLUTTER_VERSION=3.22.3
|
||||
FLUTTER_VERSION=3.24.1
|
||||
JAVA_VERSION=17
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class AddWidgetTileView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
ButtonBar(
|
||||
OverflowBar(
|
||||
children: [
|
||||
TextButton(
|
||||
onPressed: controller.addWidget,
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ class ChatView extends StatelessWidget {
|
|||
|
||||
return PopScope(
|
||||
canPop: controller.selectedEvents.isEmpty && !controller.showEmojiPicker,
|
||||
onPopInvoked: (pop) async {
|
||||
onPopInvokedWithResult: (pop, _) async {
|
||||
if (pop) return;
|
||||
if (controller.selectedEvents.isNotEmpty) {
|
||||
controller.clearSelectedEvents();
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class ChatListView extends StatelessWidget {
|
|||
canPop: controller.selectMode == SelectMode.normal &&
|
||||
!controller.isSearchMode &&
|
||||
controller.activeSpaceId == null,
|
||||
onPopInvoked: (pop) {
|
||||
onPopInvokedWithResult: (pop, _) {
|
||||
if (pop) return;
|
||||
if (controller.activeSpaceId != null) {
|
||||
controller.clearActiveSpace();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue