Compare commits

..

3 Commits

Author SHA1 Message Date
chen08209
672eaccd35 Update changelog 2026-02-02 02:38:00 +00:00
chen08209
2fbb96f5c1 Add sqlite store
Optimize android quick action

Optimize backup and restore

Optimize more details
2026-02-02 10:15:42 +08:00
chen08209
243b3037d9 Update changelog 2025-12-12 06:52:14 +00:00
10 changed files with 28 additions and 67 deletions

View File

@@ -1,3 +1,23 @@
## v0.8.92
- Add sqlite store
- Optimize android quick action
- Optimize backup and restore
- Optimize more details
## v0.8.91
- Fix windows some issues
- Optimize overwrite handle
- Optimize access control page
- Optimize some details
## v0.8.90
- Fix android tile service

View File

@@ -532,6 +532,9 @@ func handleDelFile(path string, result ActionResult) {
}
func handleSetupConfig(bytes []byte) string {
if !isInit {
return "not initialized"
}
var params = defaultSetupParams()
err := UnmarshalJson(bytes, params)
if err != nil {

View File

@@ -779,7 +779,6 @@ extension CoreControllerExt on AppController {
} else {
await updateGroups();
}
_ref.read(coreInitProvider.notifier).value = true;
}
Future<void> _connectCore() async {

View File

@@ -159,14 +159,6 @@ class Init extends _$Init with AutoDisposeNotifierMixin {
}
}
@Riverpod(keepAlive: true)
class CoreInit extends _$CoreInit with AutoDisposeNotifierMixin {
@override
bool build() {
return false;
}
}
@Riverpod(keepAlive: true)
class CurrentPageLabel extends _$CurrentPageLabel
with AutoDisposeNotifierMixin {

View File

@@ -857,58 +857,6 @@ abstract class _$Init extends $Notifier<bool> {
}
}
@ProviderFor(CoreInit)
const coreInitProvider = CoreInitProvider._();
final class CoreInitProvider extends $NotifierProvider<CoreInit, bool> {
const CoreInitProvider._()
: super(
from: null,
argument: null,
retry: null,
name: r'coreInitProvider',
isAutoDispose: false,
dependencies: null,
$allTransitiveDependencies: null,
);
@override
String debugGetCreateSourceHash() => _$coreInitHash();
@$internal
@override
CoreInit create() => CoreInit();
/// {@macro riverpod.override_with_value}
Override overrideWithValue(bool value) {
return $ProviderOverride(
origin: this,
providerOverride: $SyncValueProvider<bool>(value),
);
}
}
String _$coreInitHash() => r'db77b825e2b198311ff7753a078ce060aaef9c53';
abstract class _$CoreInit extends $Notifier<bool> {
bool build();
@$mustCallSuper
@override
void runBuild() {
final created = build();
final ref = this.ref as $Ref<bool, bool>;
final element =
ref.element
as $ClassProviderElement<
AnyNotifier<bool, bool>,
bool,
Object?,
Object?
>;
element.handleValue(ref, created);
}
}
@ProviderFor(CurrentPageLabel)
const currentPageLabelProvider = CurrentPageLabelProvider._();

View File

@@ -71,8 +71,7 @@ class _StartButtonState extends ConsumerState<StartButton>
final hasProfile = ref.watch(
profilesProvider.select((state) => state.isNotEmpty),
);
final isInit = ref.watch(coreInitProvider);
if (!hasProfile || !isInit) {
if (!hasProfile) {
return Container();
}
return Theme(

View File

@@ -44,7 +44,7 @@ class FloatingActionButtonExtendedBuilder extends StatelessWidget {
@override
Widget build(BuildContext context) {
final isExtended =
CommonScaffoldFabExtendedProvider.of(context)?.isExtended ?? false;
CommonScaffoldFabExtendedProvider.of(context)?.isExtended ?? true;
return builder(isExtended);
}
}

View File

@@ -38,7 +38,7 @@ class CommonFloatingActionButton extends StatelessWidget {
curve: Curves.easeOutBack,
child: AnimatedOpacity(
duration: midDuration,
opacity: isExtended ? 1.0 : 0.0,
opacity: isExtended ? 1.0 : 0.4,
curve: Curves.linear,
child: isExtended
? Padding(

View File

@@ -50,7 +50,7 @@ class CommonScaffold extends StatefulWidget {
class CommonScaffoldState extends State<CommonScaffold> {
late final ValueNotifier<AppBarState> _appBarState;
final ValueNotifier<bool> _loadingNotifier = ValueNotifier(false);
final ValueNotifier<bool> _isFabExtendedNotifier = ValueNotifier(false);
final ValueNotifier<bool> _isFabExtendedNotifier = ValueNotifier(true);
final ValueNotifier<List<String>> _keywordsNotifier = ValueNotifier([]);
final _textController = TextEditingController();

View File

@@ -1,7 +1,7 @@
name: fl_clash
description: A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free.
publish_to: 'none'
version: 0.8.92+2026012603
version: 0.8.92+2026020201
environment:
sdk: '>=3.8.0 <4.0.0'