mod
This commit is contained in:
@ -36,7 +36,6 @@ class NetworkImgLayer extends StatelessWidget {
|
|||||||
final int defaultImgQuality = GlobalData().imgQuality;
|
final int defaultImgQuality = GlobalData().imgQuality;
|
||||||
final String imageUrl =
|
final String imageUrl =
|
||||||
'${src!.startsWith('//') ? 'https:${src!}' : src!}@${quality ?? defaultImgQuality}q.webp';
|
'${src!.startsWith('//') ? 'https:${src!}' : src!}@${quality ?? defaultImgQuality}q.webp';
|
||||||
// print(imageUrl);
|
|
||||||
int? memCacheWidth, memCacheHeight;
|
int? memCacheWidth, memCacheHeight;
|
||||||
double aspectRatio = (width / height).toDouble();
|
double aspectRatio = (width / height).toDouble();
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
children: [
|
children: [
|
||||||
RadioListTile(
|
RadioListTile(
|
||||||
value: -1,
|
value: -1,
|
||||||
title: const Text('关闭弹幕'),
|
title: const Text('关闭字幕'),
|
||||||
groupValue: tempThemeValue,
|
groupValue: tempThemeValue,
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
tempThemeValue = value!;
|
tempThemeValue = value!;
|
||||||
|
@ -109,7 +109,6 @@ class Utils {
|
|||||||
toInt: false,
|
toInt: false,
|
||||||
formatType: formatType);
|
formatType: formatType);
|
||||||
}
|
}
|
||||||
print('distance: $distance');
|
|
||||||
if (distance <= 60) {
|
if (distance <= 60) {
|
||||||
return '刚刚';
|
return '刚刚';
|
||||||
} else if (distance <= 3600) {
|
} else if (distance <= 3600) {
|
||||||
|
Reference in New Issue
Block a user