2022-11-12 16:55:33 +01:00
|
|
|
// ignore_for_file: prefer_const_constructors
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
2023-02-17 12:53:23 +01:00
|
|
|
import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_manage_api_url.dart';
|
|
|
|
import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_manage_sources.dart';
|
2023-08-03 22:23:56 +02:00
|
|
|
import 'package:revanced_manager/ui/widgets/settingsView/settings_auto_update_patches.dart';
|
2023-09-29 18:39:07 +02:00
|
|
|
import 'package:revanced_manager/ui/widgets/settingsView/settings_enable_patches_selection.dart';
|
2023-11-07 23:52:14 +01:00
|
|
|
import 'package:revanced_manager/ui/widgets/settingsView/settings_require_suggested_app_version.dart';
|
2022-11-12 16:55:33 +01:00
|
|
|
import 'package:revanced_manager/ui/widgets/settingsView/settings_section.dart';
|
2024-01-25 18:20:34 +01:00
|
|
|
import 'package:revanced_manager/ui/widgets/settingsView/settings_show_update_dialog.dart';
|
2023-10-15 11:56:02 +02:00
|
|
|
import 'package:revanced_manager/ui/widgets/settingsView/settings_universal_patches.dart';
|
|
|
|
import 'package:revanced_manager/ui/widgets/settingsView/settings_version_compatibility_check.dart';
|
2022-11-12 16:55:33 +01:00
|
|
|
|
|
|
|
class SAdvancedSection extends StatelessWidget {
|
|
|
|
const SAdvancedSection({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return SettingsSection(
|
|
|
|
title: 'settingsView.advancedSectionTitle',
|
2023-10-15 11:56:02 +02:00
|
|
|
children: const <Widget>[
|
2023-08-03 22:23:56 +02:00
|
|
|
SAutoUpdatePatches(),
|
2024-01-25 18:20:34 +01:00
|
|
|
SShowUpdateDialog(),
|
2023-08-15 11:05:27 +02:00
|
|
|
SEnablePatchesSelection(),
|
2023-11-07 23:52:14 +01:00
|
|
|
SRequireSuggestedAppVersion(),
|
2023-10-15 11:56:02 +02:00
|
|
|
SVersionCompatibilityCheck(),
|
|
|
|
SUniversalPatches(),
|
|
|
|
SManageSourcesUI(),
|
|
|
|
SManageApiUrlUI(),
|
2022-11-12 16:55:33 +01:00
|
|
|
],
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|