Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit ac1bb8b

Browse files
committed
UI: Fix crash
Signed-off-by: Fung Gwo <fython@163.com>
1 parent e98c1ca commit ac1bb8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mobile/src/main/kotlin/info/papdt/express/helper/ui/ImportExportActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ImportExportActivity : AbsActivity() {
4444

4545
findViewById<View>(R.id.action_export_list).setOnClickListener {
4646
if (database.size() == 0) {
47-
Snackbar.make(findViewById(R.id.container)!!, R.string.toast_list_empty, Snackbar.LENGTH_SHORT)
47+
Snackbar.make(findViewById(R.id.coordinator_layout)!!, R.string.toast_list_empty, Snackbar.LENGTH_SHORT)
4848
.show()
4949
} else {
5050
ui {

0 commit comments

Comments
 (0)