Little refactor
This commit is contained in:
@@ -4769,7 +4769,8 @@ class _SferumWebViewPanelState extends State<SferumWebViewPanel> {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// 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
|
||||
class _AddChatsToFolderDialog extends StatefulWidget {
|
||||
final ChatFolder folder;
|
||||
final List<Chat> availableChats;
|
||||
|
||||
@@ -100,7 +100,8 @@ class _CustomRequestScreenState extends State<CustomRequestScreen> {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// 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
|
||||
subscription = ApiService.instance.messages.listen((message) {
|
||||
|
||||
if (message['seq'] == sentSeq) {
|
||||
|
||||
@@ -16,7 +16,8 @@ class DebugScreen extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final colors = Theme.of(context).colorScheme;
|
||||
final theme = context.watch<ThemeProvider>();
|
||||
|
||||
// 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 Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('Debug Settings'),
|
||||
|
||||
@@ -167,7 +167,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
// 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
|
||||
Future<void> _checkVersionInBackground() async {
|
||||
try {
|
||||
final prefs = await SharedPreferences.getInstance();
|
||||
@@ -178,7 +179,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
if (!isWebVersionCheckEnabled) {
|
||||
print("Web version checking is disabled, skipping check");
|
||||
return;
|
||||
}
|
||||
}// 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
|
||||
|
||||
final isAutoUpdateEnabled = prefs.getBool('auto_update_enabled') ?? false;
|
||||
final showUpdateNotification =
|
||||
|
||||
@@ -122,7 +122,8 @@ class _MusicLibraryScreenState extends State<MusicLibraryScreen> {
|
||||
final seconds = duration.inSeconds.remainder(60);
|
||||
return '${minutes.toString().padLeft(2, '0')}:${seconds.toString().padLeft(2, '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
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context);
|
||||
|
||||
@@ -85,7 +85,8 @@ class _PasswordAuthScreenState extends State<PasswordAuthScreen> {
|
||||
errorMessage = error['message'];
|
||||
}
|
||||
}
|
||||
|
||||
// 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
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(errorMessage),
|
||||
|
||||
@@ -17,7 +17,8 @@ class AboutScreen extends StatelessWidget {
|
||||
print('Could not launch $url');
|
||||
}
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
Widget _buildTeamMember(
|
||||
BuildContext context, {
|
||||
|
||||
@@ -75,7 +75,8 @@ class _QrLoginScreenState extends State<QrLoginScreen> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
void _regenerateQrData() {
|
||||
if (_token == null) return;
|
||||
|
||||
@@ -22,7 +22,8 @@ class _ReconnectionScreenState extends State<ReconnectionScreen> {
|
||||
_startFullReconnection();
|
||||
_listenToApiMessages();
|
||||
}
|
||||
|
||||
// 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
|
||||
@override
|
||||
void dispose() {
|
||||
_apiSubscription?.cancel();
|
||||
|
||||
@@ -25,7 +25,8 @@ class LogEntry {
|
||||
required this.type,
|
||||
});
|
||||
}
|
||||
|
||||
// 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
|
||||
class SocketLogScreen extends StatefulWidget {
|
||||
const SocketLogScreen({super.key});
|
||||
|
||||
|
||||
@@ -88,7 +88,8 @@ class _TokenAuthScreenState extends State<TokenAuthScreen> {
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 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
|
||||
void _loginWithToken() {
|
||||
final token = _tokenController.text.trim();
|
||||
if (token.isEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user