Commit 44af04e3 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Account activity: remove SnackBar message when a read-only address book is selected

parent adf45cb5
......@@ -207,9 +207,6 @@ class AccountActivity: AppCompatActivity(), Toolbar.OnMenuItemClickListener, Pop
info.selected = nowChecked
adapter.notifyDataSetChanged()
if (nowChecked && info.type == CollectionInfo.Type.ADDRESS_BOOK && info.readOnly)
Snackbar.make(parent, R.string.account_read_only_address_book_selected, Snackbar.LENGTH_LONG).show()
}
private val onActionOverflowListener = { anchor: View, info: CollectionInfo ->
......
......@@ -129,7 +129,6 @@
<string name="account_create_new_calendar">Create new calendar</string>
<string name="account_no_webcal_handler_found">No Webcal-capable app found</string>
<string name="account_install_icsdroid">Install ICSdroid</string>
<string name="account_read_only_address_book_selected">Read-only address book – local changes will be discarded!</string>
<!-- AddAccountActivity -->
<string name="login_help_url">https://www.davdroid.com/tested-with/?pk_campaign=davdroid-app</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment