mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 08:58:30 +03:00
HotFix to add Send File option, after PR#311
This commit is contained in:
parent
29318f128d
commit
a5db2c2f68
7 changed files with 7 additions and 7 deletions
|
@ -29,6 +29,6 @@
|
|||
<item android:id="@+id/action_rename_file" android:title="@string/common_rename" android:icon="@android:drawable/ic_menu_set_as" android:orderInCategory="1" />
|
||||
<item android:id="@+id/action_remove_file" android:title="@string/common_remove" android:icon="@android:drawable/ic_menu_delete" android:orderInCategory="1" />
|
||||
<item android:id="@+id/action_see_details" android:title="@string/actionbar_see_details" android:icon="@android:drawable/ic_menu_info_details" android:orderInCategory="1" />
|
||||
<item android:id="@+id/action_share_file" android:title="@string/actionbar_share_file" android:icon="@android:drawable/ic_menu_info_details" android:orderInCategory="1" />
|
||||
<item android:id="@+id/action_send_file" android:title="@string/actionbar_send_file" android:icon="@android:drawable/ic_menu_info_details" android:orderInCategory="1" />
|
||||
|
||||
</menu>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<string name="actionbar_mkdir">Ordner anlegen</string>
|
||||
<string name="actionbar_settings">Einstellungen</string>
|
||||
<string name="actionbar_see_details">Details</string>
|
||||
<string name="actionbar_share_file">Freigeben</string>
|
||||
<string name="actionbar_send_file">Freigeben</string>
|
||||
<string name="prefs_category_general">Allgemein</string>
|
||||
<string name="prefs_category_more">Mehr</string>
|
||||
<string name="prefs_accounts">Konten</string>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<string name="actionbar_mkdir">Ordner anlegen</string>
|
||||
<string name="actionbar_settings">Einstellungen</string>
|
||||
<string name="actionbar_see_details">Details</string>
|
||||
<string name="actionbar_share_file">Teilen</string>
|
||||
<string name="actionbar_send_file">Teilen</string>
|
||||
<string name="prefs_category_general">Allgemein</string>
|
||||
<string name="prefs_category_more">Mehr</string>
|
||||
<string name="prefs_accounts">Konten</string>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<string name="actionbar_mkdir">Ordner anlegen</string>
|
||||
<string name="actionbar_settings">Einstellungen</string>
|
||||
<string name="actionbar_see_details">Details</string>
|
||||
<string name="actionbar_share_file">Teilen</string>
|
||||
<string name="actionbar_send_file">Teilen</string>
|
||||
<string name="prefs_category_general">Allgemein</string>
|
||||
<string name="prefs_category_more">Mehr</string>
|
||||
<string name="prefs_accounts">Konten</string>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<string name="actionbar_mkdir">Create directory</string>
|
||||
<string name="actionbar_settings">Settings</string>
|
||||
<string name="actionbar_see_details">Details</string>
|
||||
<string name="actionbar_share_file">Share</string>
|
||||
<string name="actionbar_send_file">Send</string>
|
||||
<string name="prefs_category_general">General</string>
|
||||
<string name="prefs_category_more">More</string>
|
||||
<string name="prefs_accounts">Accounts</string>
|
||||
|
|
|
@ -361,7 +361,7 @@ public class OCFileListFragment extends ExtendedListFragment implements EditName
|
|||
((FileFragment.ContainerActivity)getActivity()).showDetails(mTargetFile);
|
||||
return true;
|
||||
}
|
||||
case R.id.action_share_file: {
|
||||
case R.id.action_send_file: {
|
||||
Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
|
||||
// set MimeType
|
||||
sharingIntent.setType(mTargetFile.getMimetype());
|
||||
|
|
|
@ -310,7 +310,7 @@ public class PreviewImageFragment extends FileFragment implements OnRemoteOper
|
|||
seeDetails();
|
||||
return true;
|
||||
}
|
||||
case R.id.action_share_file: {
|
||||
case R.id.action_send_file: {
|
||||
shareFile();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue