mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-17 12:28:49 +00:00
fix: hide zap button for profiles with no lud16
This commit is contained in:
@ -54,10 +54,13 @@ class _ChatModalWidget extends State<ChatModalWidget> {
|
|||||||
}),
|
}),
|
||||||
icon: Icon(Icons.mood),
|
icon: Icon(Icons.mood),
|
||||||
),
|
),
|
||||||
|
if (widget.profile.lud16?.isNotEmpty ?? false)
|
||||||
IconButton.filled(
|
IconButton.filled(
|
||||||
color: ZAP_1,
|
color: ZAP_1,
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
backgroundColor: WidgetStateColor.resolveWith((_) => LAYER_3),
|
backgroundColor: WidgetStateColor.resolveWith(
|
||||||
|
(_) => LAYER_3,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
|
Reference in New Issue
Block a user