Compare commits
3 Commits
v0.8.92-pr
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
672eaccd35 | ||
|
|
2fbb96f5c1 | ||
|
|
243b3037d9 |
20
CHANGELOG.md
20
CHANGELOG.md
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -779,7 +779,6 @@ extension CoreControllerExt on AppController {
|
||||
} else {
|
||||
await updateGroups();
|
||||
}
|
||||
_ref.read(coreInitProvider.notifier).value = true;
|
||||
}
|
||||
|
||||
Future<void> _connectCore() async {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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._();
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user