Skip to content

Commit

Permalink
Moved screen_names to collect_app
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Apr 23, 2024
1 parent ffa8c79 commit 331b2ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class MainMenuButton(context: Context, attrs: AttributeSet?) : FrameLayout(conte
get() = binding.name.text.toString()

override fun performClick(): Boolean {
return MultiClickGuard.allowClick(context.getString(org.odk.collect.androidshared.R.string.main_menu_screen)) && super.performClick()
return MultiClickGuard.allowClick(context.getString(R.string.main_menu_screen)) && super.performClick()
}

fun setNumberOfForms(number: Int) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ class StartNewFormButton(context: Context, attrs: AttributeSet?) : FrameLayout(c
get() = findViewById<TextView>(R.id.name).text.toString()

override fun performClick(): Boolean {
return MultiClickGuard.allowClick(context.getString(org.odk.collect.androidshared.R.string.main_menu_screen)) && super.performClick()
return MultiClickGuard.allowClick(context.getString(R.string.main_menu_screen)) && super.performClick()
}
}

0 comments on commit 331b2ab

Please sign in to comment.