mirror of
https://github.com/MaidFoundation/maid.git
synced 2023-12-01 22:17:36 +03:00
Merge pull request #171 from danemadsen/main
Add character name to chat controls bar
This commit is contained in:
@@ -43,8 +43,13 @@ class ChatControlsState extends State<ChatControls> {
|
||||
const SizedBox(width: 10.0),
|
||||
CircleAvatar(
|
||||
backgroundImage: const AssetImage("assets/default_profile.png"),
|
||||
foregroundImage: Image.file(Provider.of<Character>(context, listen: false).profile).image,
|
||||
foregroundImage: Image.file(context.read<Character>().profile).image,
|
||||
radius: 16,
|
||||
),
|
||||
const SizedBox(width: 10.0),
|
||||
Text(
|
||||
context.read<Character>().name,
|
||||
style: Theme.of(context).textTheme.labelLarge,
|
||||
)
|
||||
],
|
||||
if (siblingCount > 1)
|
||||
|
||||
Reference in New Issue
Block a user