diff --git a/owncloud-android-library b/owncloud-android-library index 570c35c921..48d43b576c 160000 --- a/owncloud-android-library +++ b/owncloud-android-library @@ -1 +1 @@ -Subproject commit 570c35c9214845dc744703669c0829d12fab431d +Subproject commit 48d43b576c1411be4bbf8a9b96e351fa18948a2f diff --git a/res/layout/list_item.xml b/res/layout/list_item.xml index 0d1d344f64..9c47aa6cca 100644 --- a/res/layout/list_item.xml +++ b/res/layout/list_item.xml @@ -110,7 +110,7 @@ android:orientation="vertical"> = 7) { - Log_OC.i("SQL", "Entering in the #6 ADD in onUpgrade"); + Log_OC.i("SQL", "Entering in the #7 ADD in onUpgrade"); db.beginTransaction(); try { db .execSQL("ALTER TABLE " + ProviderTableMeta.FILE_TABLE_NAME + diff --git a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java index f1790d197d..408154acc6 100644 --- a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java +++ b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java @@ -114,9 +114,9 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { fileName.setText(name); ImageView fileIcon = (ImageView) view.findViewById(R.id.imageView1); - ImageView shareIconV = (ImageView) view.findViewById(R.id.shareIcon); - ImageView shareWithMeIconV = (ImageView) view.findViewById(R.id.shareWithMeIcon); - shareWithMeIconV.setVisibility(View.GONE); + ImageView sharedIconV = (ImageView) view.findViewById(R.id.sharedIcon); + ImageView sharedWithMeIconV = (ImageView) view.findViewById(R.id.sharedWithMeIcon); + sharedWithMeIconV.setVisibility(View.GONE); ImageView localStateView = (ImageView) view.findViewById(R.id.imageView2); FileDownloaderBinder downloaderBinder = mTransferServiceGetter.getFileDownloaderBinder(); @@ -166,7 +166,7 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { fileIcon.setImageResource(DisplayUtils.getResourceId(file.getMimetype(), file.getFileName())); if (checkIfFileIsSharedWithMe(file)) { - shareWithMeIconV.setVisibility(View.VISIBLE); + sharedWithMeIconV.setVisibility(View.VISIBLE); } } else { @@ -180,16 +180,16 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { if (checkIfFileIsSharedWithMe(file)) { fileIcon.setImageResource(R.drawable.shared_with_me_folder); - shareWithMeIconV.setVisibility(View.VISIBLE); + sharedWithMeIconV.setVisibility(View.VISIBLE); } else { fileIcon.setImageResource(DisplayUtils.getResourceId(file.getMimetype(), file.getFileName())); } } if (file.isShareByLink()) { - shareIconV.setVisibility(View.VISIBLE); + sharedIconV.setVisibility(View.VISIBLE); } else { - shareIconV.setVisibility(View.GONE); + sharedIconV.setVisibility(View.GONE); } } diff --git a/src/com/owncloud/android/ui/adapter/LocalFileListAdapter.java b/src/com/owncloud/android/ui/adapter/LocalFileListAdapter.java index cd01df221f..6190ebee24 100644 --- a/src/com/owncloud/android/ui/adapter/LocalFileListAdapter.java +++ b/src/com/owncloud/android/ui/adapter/LocalFileListAdapter.java @@ -135,8 +135,8 @@ public class LocalFileListAdapter extends BaseAdapter implements ListAdapter { view.findViewById(R.id.imageView2).setVisibility(View.INVISIBLE); // not GONE; the alignment changes; ugly way to keep it view.findViewById(R.id.imageView3).setVisibility(View.GONE); - view.findViewById(R.id.shareIcon).setVisibility(View.GONE); - view.findViewById(R.id.shareWithMeIcon).setVisibility(View.GONE); + view.findViewById(R.id.sharedIcon).setVisibility(View.GONE); + view.findViewById(R.id.sharedWithMeIcon).setVisibility(View.GONE); } return view;