Skip to content

Commit

Permalink
Change DraftBox page title
Browse files Browse the repository at this point in the history
  • Loading branch information
0xZhangKe committed Nov 25, 2022
1 parent bab5613 commit f46ef98
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class DraftBoxActivity : AppCompatActivity() {
Scaffold(
topBar = {
Toolbar(
title = getString(R.string.add_page_title),
title = getString(R.string.draft_page_title),
navigationBackClick = {
finish()
},
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-en/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@

<string name="draft_not_found">draft not found!</string>

<string name="draft_page_title">Draft Box</string>

<string name="get_notion_page_error">Get page info error!</string>

<string name="draft_clear_dialog_title">Are you sure to empty the Drafts?</string>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,7 @@

<string name="get_notion_page_error">页面信息获取失败!</string>

<string name="draft_page_title">草稿箱</string>

<string name="draft_clear_dialog_title">确定清空草稿箱?</string>
</resources>

0 comments on commit f46ef98

Please sign in to comment.