Remove alternate hosts from tooling probes
Keep the probe suite on the Material composition so browser fixtures and capture drivers no longer render or select Cupertino hosts. Record the final residual legacy arguments and implementation checks for the delivery gate.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import 'dart:js_interop';
|
||||
import 'dart:js_interop_unsafe';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:pipelines_app/features/attention/domain/attention_models.dart';
|
||||
@@ -26,7 +25,6 @@ import 'package:pipelines_app/features/attention/ui/notification_permission_tile
|
||||
void main() {
|
||||
final params = Uri.base.queryParameters;
|
||||
final mode = params['mode'] ?? 'transition';
|
||||
final cupertino = params['host'] == 'cupertino';
|
||||
final scale = double.tryParse(params['scale'] ?? '') ?? 1;
|
||||
final brightness = params['theme'] == 'light'
|
||||
? Brightness.light
|
||||
@@ -40,16 +38,6 @@ void main() {
|
||||
'tile' => _SingleTile(state: _stateOf(params['state'])),
|
||||
_ => _NotificationProbe(mode: mode),
|
||||
};
|
||||
if (cupertino) {
|
||||
runApp(
|
||||
CupertinoApp(
|
||||
theme: CupertinoThemeData(brightness: brightness),
|
||||
builder: scaled,
|
||||
home: home,
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
runApp(
|
||||
MaterialApp(
|
||||
theme: ThemeData(
|
||||
|
||||
Reference in New Issue
Block a user