Преглед на файлове

Current path returns "Select Folder" instead of an empty string

With an empty string the button is hard to see and tap.

Anyway in the old version I got the name of all the folders while now with this version I get always no name.
Leo преди 5 години
родител
ревизия
079e65e7ee
No account linked to committer's email address
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      lib/src/ui/page/photo_main_page.dart

+ 1
- 1
lib/src/ui/page/photo_main_page.dart Целия файл

66
     if (currentPath?.isAll == true) {
66
     if (currentPath?.isAll == true) {
67
       return i18nProvider.getAllGalleryText(options);
67
       return i18nProvider.getAllGalleryText(options);
68
     }
68
     }
69
-    return currentPath?.name ?? "";
69
+    return currentPath?.name ?? "Select Folder";
70
   }
70
   }
71
 
71
 
72
   GlobalKey scaffoldKey;
72
   GlobalKey scaffoldKey;