Tweak textfield border radius

This commit is contained in:
tommyxchow 2022-01-16 23:48:34 -05:00
parent abe8d4dcd0
commit 543a0ec5c4
4 changed files with 6 additions and 8 deletions

View file

@ -189,7 +189,7 @@ class IRCMessage {
// Add FFZ badges to span
if (ffzUserBadges != null) {
for (final badge in ffzUserBadges) {
final color = Color(int.parse(badge.color!.replaceFirst('#', '0xff')));
final color = Color(int.parse(badge.color!.replaceFirst('#', '0xFF')));
if (badge.name == 'Bot') {
if (!skipBot) {
@ -243,7 +243,7 @@ class IRCMessage {
}
}
var color = Color(int.parse((tags['color'] ?? '#868686').replaceFirst('#', '0xff')));
var color = Color(int.parse((tags['color'] ?? '#868686').replaceFirst('#', '0xFF')));
if (useReadableColors) {
final hsl = HSLColor.fromColor(color);

View file

@ -78,7 +78,7 @@ class _ChattersListState extends State<ChattersList> {
icon: const Icon(Icons.clear),
),
border: const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)),
borderRadius: BorderRadius.all(Radius.circular(15.0)),
),
),
),

View file

@ -54,7 +54,7 @@ class ChatBottomBar extends StatelessWidget {
hintMaxLines: 1,
contentPadding: const EdgeInsets.all(10.0),
border: const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)),
borderRadius: BorderRadius.all(Radius.circular(15.0)),
),
hintText: chatStore.auth.isLoggedIn ? 'Send a message' : "Log in to chat",
),

View file

@ -35,7 +35,7 @@ class _SearchState extends State<Search> {
hintText: 'Search for a channel or category',
contentPadding: const EdgeInsets.all(10.0),
border: const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)),
borderRadius: BorderRadius.all(Radius.circular(15.0)),
),
suffixIcon: IconButton(
tooltip: 'Clear Search',
@ -48,9 +48,7 @@ class _SearchState extends State<Search> {
icon: const Icon(Icons.clear),
),
),
onSubmitted: (query) => setState(() {
searchStore.handleQuery(query);
}),
onSubmitted: (query) => setState(() => searchStore.handleQuery(query)),
),
),
Expanded(