diff --git a/lib/views/action_bar/rename/operation_menu/modify_input.dart b/lib/views/action_bar/rename/operation_menu/modify_input.dart index 95cf7a6..daf0007 100644 --- a/lib/views/action_bar/rename/operation_menu/modify_input.dart +++ b/lib/views/action_bar/rename/operation_menu/modify_input.dart @@ -27,9 +27,10 @@ class ModifyInput extends ConsumerWidget { bool dateRename = ref.watch(dateRenameProvider); bool reverseMode = ref.watch(currentModeProvider) == FunctionMode.reserve; bool inputNotEmpty = ref.watch(matchClearProvider); + bool inputLength = ref.watch(inputLengthProvider); bool reserveTypeEmpty = ref.watch(currentReserveTypeProvider).isNotEmpty; - bool disable = - dateRename || (reverseMode && (inputNotEmpty || reserveTypeEmpty)); + bool disable = dateRename || + (reverseMode && (inputNotEmpty || reserveTypeEmpty || inputLength)); final TextEditingController controller = ref.watch(modifyControllerProvider); diff --git a/pubspec.yaml b/pubspec.yaml index 865cfcd..7a56b8f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 2.9.0+0 +version: 2.9.1+0 environment: sdk: '>=3.0.6 <4.0.0' diff --git a/version.json b/version.json index 04c11ed..d470fd2 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,10 @@ { "info": [{ + "version": "2.9.1", + "description": [ + "添加了保留模式下匹配长度禁止输入修改内容的提示" + ] + },{ "version": "2.9.0", "description": [ "添加了根据扩展来批量选中的功能",