Closed
Conversation
…for-new-ui-strings Codex-generated pull request
…n-for-new-ui-strings-42d6l2
…for-new-ui-strings-42d6l2 Onboarding, diagnostics and Russia-2026 preset with UI and localization updates
…n-for-new-ui-strings-1qzhn7
…for-new-ui-strings-1qzhn7 Add onboarding & diagnostics, Russia 2026 preset, branding changes and APK build workflow
…n-for-new-ui-strings-zdmkk0
…for-new-ui-strings-zdmkk0 Add onboarding & diagnostics, Russia 2026 preset, UI tweaks and APK CI build
…n-for-new-ui-strings-lj3xwc
…for-new-ui-strings-lj3xwc Add onboarding, Russia preset, diagnostics view, branding updates and CI APK build
…n-for-new-ui-strings-b40das
…for-new-ui-strings-b40das Add onboarding, diagnostics, Russia preset, localization, UI tweaks and APK build CI
…n-for-new-ui-strings-jifkrk
…for-new-ui-strings-jifkrk Add Russia onboarding, diagnostics, Russia-2026 preset, and APK CI workflow
…n-for-new-ui-strings-niuaqq
…for-new-ui-strings-niuaqq Onboarding & Diagnostics: Russia preset, UI/localization updates, and APK build workflow
…n-for-new-ui-strings-yxdjy4
…r-cleanliness refactor: optimize codebase for cleanliness and performance
Missing provider export and incorrect async value access were restored to fix build errors.
**Files changed:**
- lib/providers/providers.dart
- lib/common/russia_preset.dart
**Full content of lib/providers/providers.dart:**
```
export 'package:flutter_riverpod/flutter_riverpod.dart';
export 'app_state.dart';
export 'database.dart';
export 'logger.dart';
export 'theme.dart';
export 'tun.dart';
export 'update_checker.dart';
```
**Full content of lib/common/russia_preset.dart:**
```
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../models/rule.dart';
import '../providers/database.dart';
final russiaPresetProvider = FutureProvider.autoDispose((ref) async {
final db = ref.watch(databaseProvider);
if (db == null) return [];
final rules = await db.getAllRules();
final existingRules = rules.toSet();
final preset = <Rule>[
Rule(
id: "rule:clash-russian-filter",
type: "remote",
name: "Russian Filter for Clash",
content: "https://raw.githubusercontent.com/SlowMemory/RuleGen/master/Clash/clash.txt",
enabled: false,
),
Rule(
id: "rule:anti-ad-clash",
type: "remote",
name: "AntiAd-clash",
content: "https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-clash.yml",
enabled: false,
),
];
// Filter out duplicates based on ID
return preset.where((newRule) => !existingRules.any((existingRule) => existingRule.id == newRule.id)).toList();
});
```
**Commands to verify:**
flutter pub get
flutter analyze
flutter build apk --debug
git add -A && git commit -m "fix: restore missing provider export and async value access"
…57e-7e6ce979b354 Update from task ecb79939-ed5b-465f-b57e-7e6ce979b354
…olve connectivity_plus and app_links dependencies - Updated android/settings.gradle.kts to include Flutter engine artifacts repository in dependencyResolutionManagement block - Modified .gitignore to properly exclude Gradle build artifacts and Android-specific files - Ensures Flutter embedding artifacts are accessible to plugin modules while maintaining AGP 8.9.1 and Gradle 8.11.1 compatibility The fix adds the missing Flutter engine repository that contains the required io.flutter:flutter_embedding_debug artifact, resolving the compilation failures for connectivity_plus and app_links modules.
…5f1-2dab34fce7c6 Update from task 961213b2-abeb-4f36-a5f1-2dab34fce7c6
- Updated application initialization in lib/application.dart to add null safety checks and prevent immediate exit when navigator context is not ready, instead implementing retry logic - Modified .gitignore to include comprehensive ignore patterns for various build artifacts and temporary files - Enhanced error handling during app startup to gracefully handle cases where navigator context is not immediately available - Improved stability and resilience of application launch sequence for better user experience
…e84-24056389dc59 Update from task 3e76587b-3729-4fbd-9e84-24056389dc59
- Fixed import in lib/common/russia_preset.dart to move ListItem widget import to correct location - Removed unused widgets import from top level and reorganized imports for clarity - Maintained all existing Russia 2026 preset functionality including DNS, routing rules, and UI component - Ensures proper widget rendering for the Russia preset configuration item
…9fb-34abfbae17c9 Update from task 9733b3e7-119a-453f-89fb-34abfbae17c9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.