fix: 修复 Bug

This commit is contained in:
HuanCheng65 2022-08-06 09:57:17 +08:00
parent e7649e47c8
commit e3a9a94baf
No known key found for this signature in database
GPG Key ID: E9031EF91A805148
5 changed files with 11 additions and 7 deletions

View File

@ -136,6 +136,7 @@
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".activities.LoginActivity"
android:label="@string/title_activity_login"
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
android:windowSoftInputMode="adjustResize" />

View File

@ -31,7 +31,7 @@ class LoginActivity : BaseActivity(), WebViewListener {
val actionBar = supportActionBar
if (actionBar != null) {
actionBar.setDisplayHomeAsUpEnabled(true)
actionBar.setTitle(R.string.title_login)
actionBar.setTitle(R.string.title_activity_login)
}
if (savedInstanceState == null) {
val mWebViewFragment = WebViewFragment.newInstance(

View File

@ -35,7 +35,7 @@ fun <ItemValue> SingleSelector(
selectedIndicator: @Composable () -> Unit = {
Icon(
imageVector = Icons.Rounded.Check,
contentDescription = stringResource(id = R.string.checked)
contentDescription = stringResource(id = R.string.desc_checked)
)
},
colors: SelectorColors = SelectorDefaults.selectorColors(),

View File

@ -112,7 +112,7 @@
android:layout_below="@id/my_info_grid_follows"
android:layout_centerHorizontal="true"
android:layout_marginTop="8dp"
android:text="关注"
android:text="@string/title_follow_num"
android:textSize="14sp"
app:tint="@color/default_color_text_secondary" />
@ -152,7 +152,7 @@
android:layout_below="@id/my_info_grid_fans"
android:layout_centerHorizontal="true"
android:layout_marginTop="8dp"
android:text="粉丝"
android:text="@string/title_fans_num"
android:textSize="14sp"
app:tint="@color/default_color_text_secondary" />
@ -191,7 +191,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="8dp"
android:text="贴子"
android:text="@string/title_posts_num"
android:textSize="14sp"
app:tint="@color/default_color_text_secondary" />
</LinearLayout>

View File

@ -15,7 +15,7 @@
<string name="shortcut_my_message">我的消息</string>
<string name="shortcut_search">搜索</string>
<string name="forum_list_title">关注</string>
<string name="title_login">登录</string>
<string name="title_activity_login">登录</string>
<string name="title_refresh">刷新</string>
<string name="title_copy_link">复制链接</string>
<string name="toast_copy_success">已复制到剪贴板</string>
@ -541,5 +541,8 @@
<string name="title_modify_nickname">修改昵称</string>
<string name="toast_intro_length_beyond_restrict">你输入的字数超出限制</string>
<string name="title_modify_sex">选择性别</string>
<string name="checked">已选中</string>
<string name="desc_checked">已选中</string>
<string name="title_follow_num">关注</string>
<string name="title_fans_num">粉丝</string>
<string name="title_posts_num">贴子</string>
</resources>