Skip to content

Commit

Permalink
Fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Jul 31, 2024
1 parent 2de2ec4 commit e0a3451
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class FormMapViewModel(
.getBoolean(ProtectedProjectKeys.KEY_EDIT_SAVED)

return IconifiedText(
if (canEditSaved) R.drawable.ic_edit else R.drawable.ic_visibility,
if (canEditSaved) org.odk.collect.icons.R.drawable.ic_edit else R.drawable.ic_visibility,
resources.getString(if (canEditSaved) org.odk.collect.strings.R.string.edit_data else org.odk.collect.strings.R.string.view_data)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class FormMapViewModelTest {
smallIcon = R.drawable.ic_room_form_state_incomplete_24dp,
largeIcon = R.drawable.ic_room_form_state_incomplete_48dp,
action = IconifiedText(
R.drawable.ic_edit,
org.odk.collect.icons.R.drawable.ic_edit,
application.getString(org.odk.collect.strings.R.string.edit_data)
),
info = formatDate(
Expand Down Expand Up @@ -152,7 +152,7 @@ class FormMapViewModelTest {
smallIcon = R.drawable.ic_room_form_state_incomplete_24dp,
largeIcon = R.drawable.ic_room_form_state_incomplete_48dp,
action = IconifiedText(
R.drawable.ic_edit,
org.odk.collect.icons.R.drawable.ic_edit,
application.getString(org.odk.collect.strings.R.string.edit_data)
),
info = formatDate(
Expand Down Expand Up @@ -191,7 +191,7 @@ class FormMapViewModelTest {
smallIcon = R.drawable.ic_room_form_state_incomplete_24dp,
largeIcon = R.drawable.ic_room_form_state_incomplete_48dp,
action = IconifiedText(
R.drawable.ic_edit,
org.odk.collect.icons.R.drawable.ic_edit,
application.getString(org.odk.collect.strings.R.string.edit_data)
),
info = formatDate(
Expand Down

0 comments on commit e0a3451

Please sign in to comment.