mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
minor persistence bugfix
This commit is contained in:
parent
0889f8a69e
commit
6783a1c628
1 changed files with 1 additions and 1 deletions
|
@ -89,9 +89,9 @@ public class FolderSyncAdapter extends SectionedRecyclerViewAdapter<FolderSyncAd
|
||||||
holder.syncStatusButton.setOnClickListener(new View.OnClickListener() {
|
holder.syncStatusButton.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
mListener.onSyncStatusToggleClick(section, mSyncFolderItems.get(section));
|
|
||||||
mSyncFolderItems.get(section).setEnabled(!mSyncFolderItems.get(section).isEnabled());
|
mSyncFolderItems.get(section).setEnabled(!mSyncFolderItems.get(section).isEnabled());
|
||||||
setSyncButtonActiveIcon(holder.syncStatusButton, mSyncFolderItems.get(section).isEnabled());
|
setSyncButtonActiveIcon(holder.syncStatusButton, mSyncFolderItems.get(section).isEnabled());
|
||||||
|
mListener.onSyncStatusToggleClick(section, mSyncFolderItems.get(section));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
setSyncButtonActiveIcon(holder.syncStatusButton, mSyncFolderItems.get(section).isEnabled());
|
setSyncButtonActiveIcon(holder.syncStatusButton, mSyncFolderItems.get(section).isEnabled());
|
||||||
|
|
Loading…
Reference in a new issue