kopia lustrzana https://gitlab.com/mysocialportal/relatica
Auto-formatting changes
rodzic
2f8aa26dbc
commit
91d1267659
|
@ -10,6 +10,7 @@ enum TimelineType {
|
|||
class TimelineIdentifiers {
|
||||
final TimelineType timeline;
|
||||
final String auxData;
|
||||
|
||||
TimelineIdentifiers({required this.timeline, this.auxData = ''});
|
||||
|
||||
String toHumanKey() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import '../globals.dart';
|
||||
import 'package:path/path.dart' as p;
|
||||
|
||||
import '../globals.dart';
|
||||
import 'attachment_media_type_enum.dart';
|
||||
|
||||
class MediaAttachment {
|
||||
|
|
|
@ -49,7 +49,7 @@ class _SignInScreenState extends State<SignInScreen> {
|
|||
TextFormField(
|
||||
autovalidateMode: AutovalidateMode.onUserInteraction,
|
||||
controller: usernameController,
|
||||
validator: (value) => true //EmailValidator.validate(value ?? '')
|
||||
validator: (value) => EmailValidator.validate(value ?? '')
|
||||
? null
|
||||
: 'Not a valid Friendica Account Address',
|
||||
decoration: InputDecoration(
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'timeline_manager.dart';
|
||||
import 'package:result_monad/result_monad.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
|
@ -8,6 +7,7 @@ import '../globals.dart';
|
|||
import '../models/credentials.dart';
|
||||
import '../models/exec_error.dart';
|
||||
import 'secrets_service.dart';
|
||||
import 'timeline_manager.dart';
|
||||
|
||||
class AuthService extends ChangeNotifier {
|
||||
FriendicaClient? _friendicaClient;
|
||||
|
|
|
@ -42,7 +42,6 @@ class NotificationsManager extends ChangeNotifier {
|
|||
return result.errorCast();
|
||||
}
|
||||
|
||||
//_notifications.clear();
|
||||
for (final n in result.value) {
|
||||
_notifications[n.id] = n;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue