diff --git a/lib/app/settings.dart b/lib/app/settings.dart index 165fa2b..0fdb828 100644 --- a/lib/app/settings.dart +++ b/lib/app/settings.dart @@ -413,8 +413,8 @@ class AppSettings { /// 'xplore' 1번 = 폴더 자신, 2번 = 안의 파일 전체, 3번 = 풀기 String explorerFolderMarkRule = 'tree'; - /// X-plore 비교 ⚖: X-plore 스타일 탐색기 안에서 옆으로 밀기 = 창 바꾸기 (처음 값 켬). 화면 사이 이동은 위 막대에서 밀기 (10/8 결정 유지) - bool explorerSwipePanes = true; + /// X-plore 비교 ⚖: X-plore 스타일 탐색기 안에서 옆으로 밀기 = 창 바꾸기 (설정으로만, 처음 값 끔 - 10/8 사용자 결정 "화면 가운데를 밀면 화면 이동" 을 지킴, 관리자 판단 10/18) + bool explorerSwipePanes = false; /// X-plore 비교 e (관리자 결정): Android 앱 휴지통 보관 일 (처음 14일, 0 = 끔 - 예전처럼 바로 영구 삭제). Windows 는 시스템 휴지통 int androidTrashDays = 14; @@ -991,7 +991,7 @@ class AppSettings { ..explorerRootsInTree = j['explorerRootsInTree'] != false ..explorerAlwaysMarks = j['explorerAlwaysMarks'] != false ..explorerFolderMarkRule = j['explorerFolderMarkRule'] == 'xplore' ? 'xplore' : 'tree' - ..explorerSwipePanes = j['explorerSwipePanes'] != false + ..explorerSwipePanes = j['explorerSwipePanes'] == true ..androidTrashDays = switch (j['androidTrashDays']) { final int d when d >= 0 && d <= 365 => d, _ => 14 } ..explorerLayout = const ['single', 'split', 'auto'].contains(j['explorerLayout']) ? j['explorerLayout'] as String diff --git a/test/explorer_test.dart b/test/explorer_test.dart index 7bb7e8f..df5d64a 100644 --- a/test/explorer_test.dart +++ b/test/explorer_test.dart @@ -242,6 +242,8 @@ void main() { }); testWidgets('X-plore ⚖: 탐색기 안에서 옆으로 밀기 = 창 바꾸기 (한 창이면 숨은 창과 바꿈)', (tester) async { + expect(AppSettings().explorerSwipePanes, isFalse, reason: '처음 값은 끔 - 화면 가운데를 밀면 화면 이동 (10/8 사용자 결정)'); + c.settings.explorerSwipePanes = true; c.settings.explorerLayout = 'single'; await open(tester); expect(c.settings.explorerPaths, [left, right]);