Autohide messages from blocked contacts #117

Merged
sarah merged 2 commits from bugfix into trunk 2021-07-14 20:48:03 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b9ce0176f9 - Show all commits

View File

@ -192,7 +192,7 @@ class _MessageViewState extends State<MessageView> {
onFieldSubmitted: _sendMessage,
enabled: !isOffline,
decoration: InputDecoration(
hintText: AppLocalizations.of(context)!.placeholderEnterMessage,
hintText: isOffline ? "" : AppLocalizations.of(context)!.placeholderEnterMessage,
hintStyle: TextStyle(color: Provider.of<Settings>(context).theme.altTextColor()),
enabledBorder: InputBorder.none,
focusedBorder: InputBorder.none,