Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63e360fb authored by Ricki Hirner's avatar Ricki Hirner
Browse files

AccountActivity: remove "Select collections to synchronize"

parent d7216f5f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -523,13 +523,11 @@ class AccountActivity: AppCompatActivity(), Toolbar.OnMenuItemClickListener, Pop
        val cardDavServiceId = MutableLiveData<Long>()
        val cardDavRefreshing = MutableLiveData<Boolean>()
        val addressBooks = MutableLiveData<List<CollectionInfo>>()
        val addressBooksSelected = MutableLiveData<Boolean>()
        val hasAddressBookHomeSets = MutableLiveData<Boolean>()

        val calDavServiceId = MutableLiveData<Long>()
        val calDavRefreshing = MutableLiveData<Boolean>()
        val calendars = MutableLiveData<List<CollectionInfo>>()
        val calendarsSelected = MutableLiveData<Boolean>()
        val hasCalendarHomeSets = MutableLiveData<Boolean>()

        val webcals = MutableLiveData<List<CollectionInfo>>()
+0 −13
Original line number Diff line number Diff line
@@ -28,19 +28,6 @@
                      android:padding="@dimen/activity_margin"
                      android:animateLayoutChanges="true">

            <TextView
                android:id="@+id/select_collections_hint"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="8dp"
                android:drawableLeft="@drawable/ic_touch_app_dark_compat"
                android:drawableStart="@drawable/ic_touch_app_dark_compat"
                android:drawablePadding="8dp"
                android:gravity="center_vertical"
                android:visibility="@{safeUnbox(model.addressBooksSelected) || safeUnbox(model.calendarsSelected) ? View.GONE : View.VISIBLE}"
                tools:visibility="visible"
                android:text="@string/account_select_collections_hint"/>

            <androidx.cardview.widget.CardView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
+0 −1
Original line number Diff line number Diff line
@@ -127,7 +127,6 @@
    <string name="account_delete">Delete account</string>
    <string name="account_delete_confirmation_title">Really delete account?</string>
    <string name="account_delete_confirmation_text">All local copies of address books, calendars and task lists will be deleted.</string>
    <string name="account_select_collections_hint">Select collections to synchronize</string>
    <string name="account_carddav">CardDAV</string>
    <string name="account_caldav">CalDAV</string>
    <string name="account_webcal">Webcal</string>