mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
parent
10c1f0ff3b
commit
eeff36b6a1
2 changed files with 6 additions and 2 deletions
|
@ -32,4 +32,9 @@
|
|||
<item>@string/menu_item_sort_by_date</item>
|
||||
<item>@string/menu_item_sort_by_size</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="menu_items_sort_by_options_local" translatable="false">
|
||||
<item>@string/menu_item_sort_by_name</item>
|
||||
<item>@string/menu_item_sort_by_date</item>
|
||||
</string-array>
|
||||
</resources>
|
|
@ -30,7 +30,6 @@ import android.os.Bundle;
|
|||
import android.os.Environment;
|
||||
import android.support.v4.app.DialogFragment;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.content.ContextCompat;
|
||||
import android.support.v7.app.ActionBar;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
|
@ -210,7 +209,7 @@ public class UploadFilesActivity extends FileActivity implements
|
|||
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setTitle(R.string.actionbar_sort_title)
|
||||
.setSingleChoiceItems(R.array.actionbar_sortby, sortOrder ,
|
||||
.setSingleChoiceItems(R.array.menu_items_sort_by_options_local, sortOrder,
|
||||
new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
switch (which){
|
||||
|
|
Loading…
Reference in a new issue