Skip to content

Commit

Permalink
Tweak add torrent button appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Dec 3, 2024
1 parent 5063cc7 commit 6dc3db5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/lib/navigation/add_torrent_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ class AddTorrentButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FloatingActionButton(
backgroundColor: Colors.yellow,
foregroundColor: Colors.black,
onPressed: () => _handleClick(context),
tooltip: 'Add Torrent',
shape: isMobileSize(context) ? const CircleBorder() : null,
elevation: (isMobileSize(context)) ? 0 : null,
child: const Icon(Icons.add),
);
}
Expand Down

0 comments on commit 6dc3db5

Please sign in to comment.