mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-03 01:00:14 +08:00
tweaks (#1788)
* 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:
committed by
GitHub
parent
31e5692dff
commit
521ca3ad18
@@ -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)';
|
||||
|
||||
Reference in New Issue
Block a user