Skip to content

Commit 89844d9

Browse files
feat: Add ink parameter to CheckboxItem and update related screens
1 parent 9caeb53 commit 89844d9

12 files changed

Lines changed: 20 additions & 9 deletions

lib/Screens/Backup/aliyundrive_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ class _AliyunDriveServiceScreenState
194194
return Container(
195195
padding: const EdgeInsets.symmetric(horizontal: 6),
196196
child: CheckboxItem(
197+
ink: false,
197198
title: appLocalizations.enable + appLocalizations.cloudTypeAliyunDrive,
198199
description: appLocalizations.cloudOAuthSafeTip(
199200
CloudService.serverEndpoint, appLocalizations.cloudTypeAliyunDrive),

lib/Screens/Backup/box_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ class _BoxServiceScreenState extends BaseDynamicState<BoxServiceScreen>
202202
return Container(
203203
padding: const EdgeInsets.symmetric(horizontal: 6),
204204
child: CheckboxItem(
205+
ink: false,
205206
title: appLocalizations.enable + appLocalizations.cloudTypeBox,
206207
description: appLocalizations.cloudOAuthSafeTip(
207208
CloudService.serverEndpoint, appLocalizations.cloudTypeBox),

lib/Screens/Backup/dropbox_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ class _DropboxServiceScreenState extends BaseDynamicState<DropboxServiceScreen>
191191
return Container(
192192
padding: const EdgeInsets.symmetric(horizontal: 6),
193193
child: CheckboxItem(
194+
ink: false,
194195
title: appLocalizations.enable + appLocalizations.cloudTypeDropbox,
195196
value: _dropboxCloudServiceConfig?.enabled ?? false,
196197
onTap: () {

lib/Screens/Backup/googledrive_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ class _GoogleDriveServiceScreenState
187187
return Container(
188188
padding: const EdgeInsets.symmetric(horizontal: 6),
189189
child: CheckboxItem(
190+
ink: false,
190191
title: appLocalizations.enable + appLocalizations.cloudTypeGoogleDrive,
191192
description: appLocalizations.cloudOAuthSafeTip(
192193
CloudService.serverEndpoint, appLocalizations.cloudTypeGoogleDrive),

lib/Screens/Backup/huawei_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ class _HuaweiCloudServiceScreenState
203203
return Container(
204204
padding: const EdgeInsets.symmetric(horizontal: 6),
205205
child: CheckboxItem(
206+
ink: false,
206207
title: appLocalizations.enable + appLocalizations.cloudTypeHuaweiCloud,
207208
description: appLocalizations.cloudOAuthSafeTip(
208209
CloudService.serverEndpoint, appLocalizations.cloudTypeHuaweiCloud),

lib/Screens/Backup/onedrive_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ class _OneDriveServiceScreenState
199199
return Container(
200200
padding: const EdgeInsets.symmetric(horizontal: 6),
201201
child: CheckboxItem(
202+
ink: false,
202203
title: appLocalizations.enable + appLocalizations.cloudTypeOneDrive,
203204
description: appLocalizations.cloudTypeOneDriveTip,
204205
value: _oneDriveCloudServiceConfig?.enabled ?? false,

lib/Screens/Backup/s3_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ class _S3CloudServiceScreenState extends BaseDynamicState<S3CloudServiceScreen>
178178
return Container(
179179
padding: const EdgeInsets.symmetric(horizontal: 6),
180180
child: CheckboxItem(
181+
ink: false,
181182
title: appLocalizations.enable + appLocalizations.cloudTypeS3Cloud,
182183
value: _s3CloudServiceConfig?.enabled ?? false,
183184
onTap: () {

lib/Screens/Backup/webdav_service_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ class _WebDavServiceScreenState extends BaseDynamicState<WebDavServiceScreen>
170170
return Container(
171171
padding: const EdgeInsets.symmetric(horizontal: 6),
172172
child: CheckboxItem(
173+
ink: false,
173174
title: appLocalizations.enable + appLocalizations.cloudTypeWebDav,
174175
value: _webDavCloudServiceConfig?.enabled ?? false,
175176
onTap: () {

lib/Screens/layout_select_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class _LayoutSelectScreenState extends BaseDynamicState<LayoutSelectScreen> {
182182
borderRadius: BorderRadius.circular(12),
183183
border: Border.all(
184184
color: selected ? _accent : ChewieTheme.borderColor,
185-
width: selected ? 1.5 : 1,
185+
width: selected ? 1.5 : 0,
186186
),
187187
),
188188
padding: const EdgeInsets.all(10),

lib/Screens/sort_select_screen.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ class _SortSelectScreenState extends BaseDynamicState<SortSelectScreen> {
232232
decoration: BoxDecoration(
233233
color: ChewieTheme.canvasColor,
234234
borderRadius: BorderRadius.circular(12),
235-
border: Border.all(color: ChewieTheme.borderColor),
236235
),
237236
child: Column(
238237
mainAxisSize: MainAxisSize.min,

0 commit comments

Comments
 (0)