mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 03:07:41 +08:00
Add 'Stop' label constant and use in SendButton
Introduces kLabelStop to consts.dart and updates SendButton to use the new constant when isStreaming is true, improving consistency in label management.
This commit is contained in:
@@ -25,7 +25,7 @@ class SendButton extends StatelessWidget {
|
||||
? [
|
||||
kHSpacer8,
|
||||
Text(
|
||||
isStreaming ? 'Stop' : kLabelCancel,
|
||||
isStreaming ? kLabelStop : kLabelCancel,
|
||||
style: kTextStyleButton,
|
||||
),
|
||||
kHSpacer6,
|
||||
|
||||
Reference in New Issue
Block a user