Skip to content

Commit 137c248

Browse files
committed
s2
1 parent 9f7e6eb commit 137c248

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ android {
3737
applicationId = "org.aquamarine5.brainspark.chaoxingsignfaker"
3838
minSdk = 26
3939
targetSdk = 35
40-
versionCode = 107000001
41-
versionName = "1.7.0-stable-250516"
40+
versionCode = 107010001
41+
versionName = "1.7.1-stable-250518"
4242

4343
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
4444
}

app/src/main/java/org/aquamarine5/brainspark/chaoxingsignfaker/screen/CourseListScreen.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ import androidx.compose.animation.core.VisibilityThreshold
1313
import androidx.compose.animation.core.spring
1414
import androidx.compose.foundation.layout.Arrangement
1515
import androidx.compose.foundation.layout.Column
16+
import androidx.compose.foundation.layout.Spacer
1617
import androidx.compose.foundation.layout.fillMaxSize
18+
import androidx.compose.foundation.layout.height
1719
import androidx.compose.foundation.layout.padding
1820
import androidx.compose.foundation.lazy.LazyColumn
1921
import androidx.compose.foundation.lazy.items
@@ -145,7 +147,7 @@ fun CourseListScreen(
145147
}
146148
}
147149
val coroutineScope = rememberCoroutineScope()
148-
if (isForceInstall || (newestVersionData != null && !isNewVersionDialogDisplayed)) {
150+
if (newestVersionData != null && (isForceInstall||!isNewVersionDialogDisplayed)) {
149151
onNewVersionAvailable()
150152
isNewVersionDialogDisplayed = true
151153
AlertDialog(onDismissRequest = {
@@ -196,6 +198,7 @@ fun CourseListScreen(
196198
) {
197199

198200
Icon(painterResource(R.drawable.ic_user_lock), null)
201+
Spacer(modifier=Modifier.height(8.dp))
199202
Text("受限于应用策略,当前账号无法使用此功能")
200203
}
201204
} else {

0 commit comments

Comments
 (0)