Organize settings into retained topic tabs

This commit is contained in:
2026-11-07 19:36:02 +00:00
parent 6b654693d9
commit fc4aa1652f
11 changed files with 434 additions and 101 deletions
@@ -1,3 +1,4 @@
import '../features/settings/settings_topic_test_helper.dart';
import 'dart:convert';
import 'package:flutter/cupertino.dart';
@@ -60,9 +61,11 @@ void main() {
await tester.pump();
await tester.pump();
expect(provider.value.uri.path, '/settings');
expect(find.text('Quick switch animation'), findsOneWidget);
await selectSettingsTopic(tester, 'Connection');
expect(find.text('Server URL'), findsOneWidget);
if (cupertino) {
final title = tester.widget<Text>(find.text('Connection'));
final title = tester.widget<Text>(find.text('Connection').last);
expect(
title.style!.color!.computeLuminance(),
greaterThan(0.5),