refactor: optimize chat input layout and enhance drawer functionality with loading indicators
This commit is contained in:
@@ -177,7 +177,8 @@ class OfflineAwareButton extends ConsumerWidget {
|
||||
|
||||
return Tooltip(
|
||||
message: !enabled
|
||||
? (offlineTooltip ?? AppLocalizations.of(context)!.featureRequiresInternet)
|
||||
? (offlineTooltip ??
|
||||
AppLocalizations.of(context)!.featureRequiresInternet)
|
||||
: '',
|
||||
child: FilledButton(onPressed: enabled ? onPressed : null, child: child),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user