mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-16 20:08:50 +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),
|
||||
),
|
||||
if (widget.profile.lud16?.isNotEmpty ?? false)
|
||||
IconButton.filled(
|
||||
color: ZAP_1,
|
||||
style: ButtonStyle(
|
||||
backgroundColor: WidgetStateColor.resolveWith((_) => LAYER_3),
|
||||
backgroundColor: WidgetStateColor.resolveWith(
|
||||
(_) => LAYER_3,
|
||||
),
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.pop(context);
|
||||
|
Reference in New Issue
Block a user