Browse Source

Fixed message when trying to move to a folder which does not exist anymore

jabarros 10 năm trước cách đây
mục cha
commit
f94781b459

+ 1 - 1
src/com/owncloud/android/ui/activity/MoveActivity.java

@@ -449,7 +449,7 @@ public class MoveActivity extends HookActivity implements FileFragment.Container
                         if (currentDir == null) {
                         if (currentDir == null) {
                             // current folder was removed from the server 
                             // current folder was removed from the server 
                             Toast.makeText( MoveActivity.this, 
                             Toast.makeText( MoveActivity.this, 
-                                            String.format(getString(R.string.sync_current_folder_was_removed), "PLACEHOLDER"), 
+                                            String.format(getString(R.string.sync_current_folder_was_removed), getCurrentFolder().getFileName()), 
                                             Toast.LENGTH_LONG)
                                             Toast.LENGTH_LONG)
                                 .show();
                                 .show();
                             browseToRoot();
                             browseToRoot();