Remove Cupertino chat cleanup leftovers

Keep chat and folder-picker UI on the Material path by removing obsolete Cupertino imports, icon metadata, flags, and alternate control handling while preserving existing behavior and focused test coverage.
This commit is contained in:
2026-11-11 20:06:37 +00:00
parent 3f05421e8b
commit 04ba81e0ea
18 changed files with 33 additions and 123 deletions
@@ -1,4 +1,3 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../ui/sessions/chat_adaptive.dart';
@@ -16,8 +15,5 @@ ChatBarAction chatCenterStageAction(ChatCenterStageController controller) {
materialIcon: controller.value
? Icons.view_quilt_outlined
: Icons.center_focus_strong_outlined,
cupertinoIcon: controller.value
? CupertinoIcons.square_split_2x2
: CupertinoIcons.viewfinder,
);
}
@@ -9,12 +9,10 @@ class ChatWorkspaceEntrance extends StatefulWidget {
const ChatWorkspaceEntrance({
super.key,
required this.visible,
required this.cupertino,
required this.child,
});
final bool visible;
final bool cupertino;
final Widget child;
@override