- Moved ObfuscateService and ObfuscatedAvatar from services to domain/services. - Updated references to use globals for stealth mode instead of AppConfig. - Removed old obfuscated_avatar.dart file and updated imports in call and incoming call pages. - Cleaned up imports in composition, contact, and history pages to reflect new structure. - Deleted unused BlockService, CallService, ContactService, AsymmetricCryptoService, and QRScanner classes.
26 lines
721 B
Dart
26 lines
721 B
Dart
import 'package:flutter/material.dart';
|
|
import '../contacts/contact_state.dart';
|
|
import '../contacts/widgets/alphabet_scroll_page.dart';
|
|
|
|
class ContactPage extends StatefulWidget {
|
|
const ContactPage({super.key});
|
|
|
|
@override
|
|
_ContactPageState createState() => _ContactPageState();
|
|
}
|
|
|
|
class _ContactPageState extends State<ContactPage> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final contactState = ContactState.of(context);
|
|
return Scaffold(
|
|
body: contactState.loading
|
|
? const Center(child: CircularProgressIndicator())
|
|
: AlphabetScrollPage(
|
|
scrollOffset: contactState.scrollOffset,
|
|
contacts: contactState.contacts,
|
|
),
|
|
);
|
|
}
|
|
}
|