tuskyapp / Tusky

An Android client for the microblogging server Mastodon
https://tusky.app
GNU General Public License v3.0
2.5k stars 390 forks source link

Cannot read the full error message in a toast pop up #3114

Open snail-coupe opened 1 year ago

snail-coupe commented 1 year ago

When drafting a new toot the face icon (Custom Emoji?) is greyed out. Tapping it anyway displays a brief toast/pop-over error message however the message is truncated and effectively useless: "Your instance [instance name] does ..."

There appears to be no way to view the full message. I tried tapping it, and generating it while in landscape mode.

I don't know if this is a Tusky issue, or a toolkit issue, or an OS issue though. (It's a Redmi phone running their MIUI 23 on top of Android 12)

I'm assuming the message was "... Does not support this feature" or similar but figured I'd report it as a symptom of an underlying issue.

connyduck commented 1 year ago

(It's a snackbar, not a Toast)

Here is the Api to add more lines, should be a simple fix: https://developer.android.com/reference/com/google/android/material/snackbar/Snackbar?hl=en#setTextMaxLines(int)