mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
fixed headline for share file fragment
This commit is contained in:
parent
c96be51151
commit
c32ce5b9d5
1 changed files with 2 additions and 4 deletions
|
@ -201,8 +201,8 @@ public class ShareFileFragment extends Fragment
|
|||
}
|
||||
}
|
||||
// Name
|
||||
TextView filename = (TextView) view.findViewById(R.id.shareFileName);
|
||||
filename.setText(mFile.getFileName());
|
||||
TextView fileNameHeader = (TextView) view.findViewById(R.id.shareFileName);
|
||||
fileNameHeader.setText(getResources().getString(R.string.share_file, mFile.getFileName()));
|
||||
// Size
|
||||
TextView size = (TextView) view.findViewById(R.id.shareFileSize);
|
||||
if (mFile.isFolder()) {
|
||||
|
@ -512,8 +512,6 @@ public class ShareFileFragment extends Fragment
|
|||
super.onActivityCreated(savedInstanceState);
|
||||
Log_OC.d(TAG, "onActivityCreated");
|
||||
|
||||
getActivity().setTitle(R.string.share_dialog_title);
|
||||
|
||||
// Load known capabilities of the server from DB
|
||||
refreshCapabilitiesFromDB();
|
||||
|
||||
|
|
Loading…
Reference in a new issue