mirror of
https://github.com/easychen/pushdeer.git
synced 2025-01-10 23:15:30 +08:00
修复设置界面不显示用户名的bug
This commit is contained in:
parent
f31912edae
commit
67e756900e
@ -11,8 +11,8 @@ android {
|
||||
applicationId "com.pushdeer.os"
|
||||
minSdk 22
|
||||
targetSdk 31
|
||||
versionCode 4
|
||||
versionName "1.0-dev-4"
|
||||
versionCode 5
|
||||
versionName "1.0-dev-5"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
|
@ -26,11 +26,17 @@ import com.pushdeer.os.holder.RequestHolder
|
||||
import com.pushdeer.os.ui.navigation.Page
|
||||
import com.pushdeer.os.ui.navigation.pageList
|
||||
import com.pushdeer.os.ui.theme.mainBottomBtn
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
@ExperimentalAnimationApi
|
||||
@ExperimentalMaterialApi
|
||||
@Composable
|
||||
fun MainPage(requestHolder: RequestHolder) {
|
||||
LaunchedEffect(Unit) {
|
||||
requestHolder.coroutineScope.launch {
|
||||
requestHolder.pushDeerViewModel.userInfo()
|
||||
}
|
||||
}
|
||||
|
||||
var titleStringId by remember {
|
||||
mutableStateOf(Page.Messages.labelStringId)
|
||||
|
Loading…
Reference in New Issue
Block a user