File tree Expand file tree Collapse file tree
app/src/main/java/com/nextcloud/client/preferences Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313import com .nextcloud .appReview .AppReviewShownModel ;
1414import com .nextcloud .client .jobs .LogEntry ;
1515import com .owncloud .android .datamodel .OCFile ;
16- import com .owncloud .android .ui .fragment .FileListLayoutManager ;
1716import com .owncloud .android .ui .fragment .FolderLayout ;
1817import com .owncloud .android .utils .FileSortOrder ;
1918
@@ -145,7 +144,7 @@ default void onDarkThemeModeChanged(DarkMode mode) {
145144 * @param layout FolderLayout which layout is being set
146145 * @param layoutName preference value
147146 */
148- void setFolderLayout (@ Nullable FolderLayout layout , String layoutName );
147+ void setFolderLayout (@ NonNull FolderLayout layout , String layoutName );
149148
150149 /**
151150 * Saves the path where the user selected to do the last upload of a file shared from other app.
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ public String getFolderLayout(FolderLayout layout) {
355355 }
356356
357357 @ Override
358- public void setFolderLayout (FolderLayout layout , String layoutName ) {
358+ public void setFolderLayout (@ NonNull FolderLayout layout , String layoutName ) {
359359 if (layout instanceof FolderLayout .Child child ) {
360360 setFolderPreference (context ,
361361 userAccountManager .getUser (),
You can’t perform that action at this time.
0 commit comments