forked from cwtch.im/cwtch-ui
proper tooltips
This commit is contained in:
parent
60a4775f4d
commit
82294eb6af
|
@ -58,7 +58,7 @@ class _ServerRowState extends State<ServerRow> {
|
||||||
// Copy server button
|
// Copy server button
|
||||||
IconButton(
|
IconButton(
|
||||||
enableFeedback: true,
|
enableFeedback: true,
|
||||||
tooltip: AppLocalizations.of(context)!.editProfile + " " + server.onion,
|
tooltip: AppLocalizations.of(context)!.copyAddress,
|
||||||
icon: Icon(CwtchIcons.address_copy_2, color: Provider.of<Settings>(context).current().mainTextColor()),
|
icon: Icon(CwtchIcons.address_copy_2, color: Provider.of<Settings>(context).current().mainTextColor()),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Clipboard.setData(new ClipboardData(text: server.serverBundle));
|
Clipboard.setData(new ClipboardData(text: server.serverBundle));
|
||||||
|
@ -68,7 +68,7 @@ class _ServerRowState extends State<ServerRow> {
|
||||||
// Edit button
|
// Edit button
|
||||||
IconButton(
|
IconButton(
|
||||||
enableFeedback: true,
|
enableFeedback: true,
|
||||||
tooltip: AppLocalizations.of(context)!.editProfile + " " + server.onion,
|
tooltip: AppLocalizations.of(context)!.editServerTitle,
|
||||||
icon: Icon(Icons.create, color: Provider.of<Settings>(context).current().mainTextColor()),
|
icon: Icon(Icons.create, color: Provider.of<Settings>(context).current().mainTextColor()),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
_pushEditServer(server);
|
_pushEditServer(server);
|
||||||
|
|
Loading…
Reference in New Issue