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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user