Skip to content

Commit

Permalink
Release 3.2.1
Browse files Browse the repository at this point in the history
1.修复高版本安卓底栏动画问题
2.调整页面切换动画速度
3.修复分类视图返回上级页面自动回到顶部的问题
4.修改未选择游戏时分类视图为空视图
5.分类视图文件条目添加已开启数量统计
  • Loading branch information
laoxinH committed Nov 16, 2024
1 parent 5fcd5f0 commit 0391dbb
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package top.laoxin.modmanager.ui.view.modview

import android.os.Environment
import android.util.Log
import androidx.activity.compose.BackHandler
import androidx.annotation.DrawableRes
import androidx.compose.animation.AnimatedContent
Expand Down Expand Up @@ -57,7 +56,6 @@ fun ModsBrowser(viewModel: ModViewModel, uiState: ModUiState) {
val listState = rememberLazyListState()
val scrollPositions = remember { mutableMapOf<String, Int>() }
val scrollOffsets = remember { mutableMapOf<String, Int>() }
Log.d(TAG, "ModsBrowser: ${ModTools.MOD_PATH}")
if (currentPath == ModTools.MOD_PATH) {
return NoMod()
}
Expand Down Expand Up @@ -190,9 +188,6 @@ fun ModsBrowser(viewModel: ModViewModel, uiState: ModUiState) {
) viewModel.getModsByPath(file.path).filter { it.isEnable }.size else viewModel.getModsByVirtualPaths(
file.path
).filter { it.isEnable }.size

Log.d(TAG, "已开启: $modEnableCount")

if (modsByPath.isEmpty() && modsByVirtualPaths.isEmpty() && (file.isDirectory || !file.exists())) {
FileListItem(
modifier = Modifier.padding(horizontal = 8.dp, vertical = 8.dp),
Expand Down

0 comments on commit 0391dbb

Please sign in to comment.