Skip to content

Commit

Permalink
refactor: improve state management and update link text color
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-i committed Dec 8, 2023
1 parent b682641 commit 6d8d883
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/lib/chat_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ class _ChatScreenState extends State<ChatScreen> {
cancelCurrentOperation();
}

// ignore: unused_element
void _showSocialLinksDialog() {
showDialog(
context: context,
Expand Down Expand Up @@ -413,7 +412,7 @@ class _ChatScreenState extends State<ChatScreen> {
text,
style: TextStyle(
color:
Colors.blue, // Change this color to match your app's theme
Colors.black, // Change this color to match your app's theme
decoration: TextDecoration.underline,
),
),
Expand Down Expand Up @@ -506,14 +505,14 @@ class _ChatScreenState extends State<ChatScreen> {
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
// Add the Social Links button
/*if (widget._dnsgs! == false)
if (widget._dnsgs! == false)
Padding(
padding: const EdgeInsets.only(left: 8.0),
child: IconButton(
icon: Icon(Icons.share),
onPressed: _showSocialLinksDialog,
),
),*/
),
if (widget._allowEnterKey != null && widget._allowEnterKey!)
ElevatedButton(
child: Text(
Expand Down

0 comments on commit 6d8d883

Please sign in to comment.