some fixes

This commit is contained in:
otsmr 2025-02-08 23:14:23 +01:00
parent fb26379201
commit f4b532e357
4 changed files with 14 additions and 12 deletions

View file

@ -5,8 +5,6 @@ Don't be lonely, get twonly! Send pictures to a friend in real time and be sure
## TODOS bevor first beta
- Send a picture first to only one person -> Kamera button
- Context Menu
- Invitation codes
- Settings
- Real deployment aufsetzen, direkt auf Netcup?
- Firebase Push Notification
@ -35,7 +33,6 @@ Don't be lonely, get twonly! Send pictures to a friend in real time and be sure
- Send normal images via twonly
## Pro Version
- Send and receive unlimited pictures

View file

@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:twonly/src/model/contacts_model.dart';
import 'package:twonly/src/views/contact/contact_verify_view.dart';
class VerifiedShield extends StatelessWidget {
final Contact contact;
@ -12,13 +11,13 @@ class VerifiedShield extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
Navigator.push(context, MaterialPageRoute(
builder: (context) {
return ContactVerifyView(contact);
},
));
},
// onTap: () {
// Navigator.push(context, MaterialPageRoute(
// builder: (context) {
// return ContactVerifyView(contact);
// },
// ));
// },
child: Tooltip(
message: contact.verified
? "You verified this contact"

View file

@ -71,6 +71,8 @@ class ApiProvider {
reconnectionTimer!.cancel();
}
isAuthenticated = false;
log.info("Trying to connect to the backend $apiUrl!");
if (await _connectTo(apiUrl)) {
await onConnected();

View file

@ -202,7 +202,11 @@ class _UserListItem extends State<UserListItem> {
),
if (flameCounter > 0)
FlameCounterWidget(
widget.user, flameCounter, widget.maxTotalMediaCounter),
widget.user,
flameCounter,
widget.maxTotalMediaCounter,
prefix: true,
),
],
),
leading: InitialsAvatar(displayName: widget.user.displayName),