mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-07-20 23:14:07 +00:00
fix badge color and show users avatar
This commit is contained in:
parent
df9b0d66bd
commit
bb8f33e9d6
2 changed files with 7 additions and 2 deletions
|
|
@ -33,7 +33,9 @@ class VerificationBadgeComp extends StatefulWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
class _VerificationBadgeCompState extends State<VerificationBadgeComp> {
|
class _VerificationBadgeCompState extends State<VerificationBadgeComp> {
|
||||||
late bool _isVerified = widget.contact?.verified ?? true;
|
late bool _isVerified =
|
||||||
|
widget.contact?.verified ??
|
||||||
|
!(widget.isVerifiedByTransferredTrust ?? false);
|
||||||
bool _isSharedVerified = false;
|
bool _isSharedVerified = false;
|
||||||
int _verifiedByTransferredTrustCount = 0;
|
int _verifiedByTransferredTrustCount = 0;
|
||||||
int _sharedByVerifiedCount = 0;
|
int _sharedByVerifiedCount = 0;
|
||||||
|
|
|
||||||
|
|
@ -436,7 +436,10 @@ class UserDiscoverySetupComp extends StatelessWidget {
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
const AvatarIcon(fontSize: 14),
|
const AvatarIcon(
|
||||||
|
fontSize: 14,
|
||||||
|
myAvatar: true,
|
||||||
|
),
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue