Little refactor
This commit is contained in:
@@ -105,3 +105,5 @@ class Account {
|
||||
);
|
||||
}
|
||||
}
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
@@ -115,3 +115,5 @@ class AttachmentsParser {
|
||||
}).toList();
|
||||
}
|
||||
}
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
@@ -38,3 +38,5 @@ class Channel {
|
||||
);
|
||||
}
|
||||
}
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
@@ -108,3 +108,5 @@ class Chat {
|
||||
);
|
||||
}
|
||||
}
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
@@ -83,3 +83,5 @@ class ChatFolderWidget {
|
||||
);
|
||||
}
|
||||
}
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
@@ -45,3 +45,5 @@ class ComplaintData {
|
||||
);
|
||||
}
|
||||
}
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
@@ -52,7 +52,8 @@ class Contact {
|
||||
final isBlocked = status == 'BLOCKED';
|
||||
|
||||
final isBlockedByMe = status == 'BLOCKED';
|
||||
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
return Contact(
|
||||
id: json['id'],
|
||||
name: finalName,
|
||||
|
||||
@@ -41,7 +41,8 @@ class Message {
|
||||
} else {
|
||||
time = 0;
|
||||
}
|
||||
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
return Message(
|
||||
id:
|
||||
json['id']?.toString() ??
|
||||
@@ -115,7 +116,8 @@ class Message {
|
||||
|
||||
return hoursSinceCreation <= 24;
|
||||
}
|
||||
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'id': id,
|
||||
|
||||
@@ -39,7 +39,8 @@ class Profile {
|
||||
|
||||
final names = profileData['names'] as List<dynamic>? ?? [];
|
||||
final nameData = names.isNotEmpty ? names[0] as Map<String, dynamic> : {};
|
||||
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
return Profile(
|
||||
id: profileData['id'],
|
||||
phone: profileData['phone'].toString(),
|
||||
|
||||
Reference in New Issue
Block a user