mod: 投稿搜索无内容样式
This commit is contained in:
@ -75,7 +75,11 @@ class MemberSearchController extends GetxController {
|
||||
}
|
||||
archivePn += 1;
|
||||
hasRequest = true;
|
||||
if (res['data'].list.vlist.isEmpty) {
|
||||
loadingStatus.value = 'finish';
|
||||
}
|
||||
}
|
||||
|
||||
// loadingStatus.value = 'finish';
|
||||
return res;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:device_info_plus/device_info_plus.dart';
|
||||
import 'package:auto_orientation/auto_orientation.dart';
|
||||
// import 'package:auto_orientation/auto_orientation.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
@ -12,17 +12,17 @@ Future<void> landScape() async {
|
||||
if (kIsWeb) {
|
||||
await document.documentElement?.requestFullscreen();
|
||||
} else if (Platform.isAndroid || Platform.isIOS) {
|
||||
// await SystemChrome.setEnabledSystemUIMode(
|
||||
// SystemUiMode.immersiveSticky,
|
||||
// overlays: [],
|
||||
// );
|
||||
// await SystemChrome.setPreferredOrientations(
|
||||
// [
|
||||
// DeviceOrientation.landscapeLeft,
|
||||
// DeviceOrientation.landscapeRight,
|
||||
// ],
|
||||
// );
|
||||
await AutoOrientation.landscapeAutoMode(forceSensor: true);
|
||||
await SystemChrome.setEnabledSystemUIMode(
|
||||
SystemUiMode.immersiveSticky,
|
||||
overlays: [],
|
||||
);
|
||||
await SystemChrome.setPreferredOrientations(
|
||||
[
|
||||
DeviceOrientation.landscapeLeft,
|
||||
DeviceOrientation.landscapeRight,
|
||||
],
|
||||
);
|
||||
// await AutoOrientation.landscapeAutoMode(forceSensor: true);
|
||||
} else if (Platform.isMacOS || Platform.isWindows || Platform.isLinux) {
|
||||
await const MethodChannel('com.alexmercerind/media_kit_video')
|
||||
.invokeMethod(
|
||||
|
@ -65,14 +65,6 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.1"
|
||||
auto_orientation:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: auto_orientation
|
||||
sha256: cd56bb59b36fa54cc28ee254bc600524f022a4862f31d5ab20abd7bb1c54e678
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.3.1"
|
||||
boolean_selector:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -94,7 +94,7 @@ dependencies:
|
||||
universal_platform: ^1.0.0+1
|
||||
# 进度条
|
||||
audio_video_progress_bar: ^1.0.1
|
||||
auto_orientation: ^2.3.1
|
||||
# auto_orientation: ^2.3.1
|
||||
protobuf: ^3.0.0
|
||||
animations: ^2.0.7
|
||||
|
||||
|
Reference in New Issue
Block a user