Remove Cupertino chat shell branches

Keep the Material-only chat shell path while preserving public Cupertino parameters for callers. Narrow matching tests to the supported Material host.
This commit is contained in:
2026-11-11 04:41:58 +00:00
parent 98e2abd9af
commit 8e98651db6
17 changed files with 172 additions and 460 deletions
@@ -1,6 +1,5 @@
import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pipelines_app/core/api_gateway.dart';
@@ -168,7 +167,7 @@ String terminalText(WidgetTester tester, {int index = 0}) {
return lines.join('\n');
}
Widget shellThread(ShellGateway gateway, {bool cupertino = false}) {
Widget shellThread(ShellGateway gateway) {
final thread = ChatThreadView(
gateway: gateway,
sessionId: 's',
@@ -176,7 +175,5 @@ Widget shellThread(ShellGateway gateway, {bool cupertino = false}) {
onBack: () {},
drafts: MemoryChatDraftStore(),
);
return cupertino
? CupertinoApp(home: CupertinoPageScaffold(child: thread))
: MaterialApp(home: Scaffold(body: thread));
return MaterialApp(home: Scaffold(body: thread));
}