* tweak

* opt: show bar

* opt: crc32

* opt: appsign

* opt: Get

* opt: compress only if large

* opt: wbi

* tweak

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Signed-off-by: My-Responsitories <107370289+My-Responsitories@users.noreply.github.com>
Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-12-23 12:57:19 +08:00
committed by GitHub
parent 31e5692dff
commit 521ca3ad18
31 changed files with 165 additions and 210 deletions

View File

@@ -363,7 +363,6 @@ class _EditProfilePageState extends State<EditProfilePage> {
'platform': 'android',
's_locale': 'zh_CN',
'statistics': Constants.statistics,
'ts': (DateTime.now().millisecondsSinceEpoch ~/ 1000).toString(),
if (type == ProfileType.uname)
'uname': _textController.text
else if (type == ProfileType.sign)
@@ -500,15 +499,15 @@ class _EditProfilePageState extends State<EditProfilePage> {
toolbarColor: theme.colorScheme.secondaryContainer,
toolbarWidgetColor: theme.colorScheme.onSecondaryContainer,
statusBarLight: theme.colorScheme.isLight,
aspectRatioPresets: [CropAspectRatioPresetCustom()],
aspectRatioPresets: const [CropAspectRatioPresetCustom()],
lockAspectRatio: true,
hideBottomControls: true,
cropStyle: CropStyle.circle,
initAspectRatio: CropAspectRatioPresetCustom(),
initAspectRatio: const CropAspectRatioPresetCustom(),
),
IOSUiSettings(
title: '裁剪',
aspectRatioPresets: [CropAspectRatioPresetCustom()],
aspectRatioPresets: const [CropAspectRatioPresetCustom()],
cropStyle: CropStyle.circle,
aspectRatioLockEnabled: true,
resetAspectRatioEnabled: false,
@@ -556,8 +555,10 @@ class _EditProfilePageState extends State<EditProfilePage> {
}
class CropAspectRatioPresetCustom implements CropAspectRatioPresetData {
const CropAspectRatioPresetCustom();
@override
(int, int)? get data => (1, 1);
(int, int) get data => const (1, 1);
@override
String get name => '1x1 (customized)';