Fixed 3rd person bug

This commit is contained in:
endgame
2025-11-30 23:30:40 +03:00
parent cf96e73253
commit 8d7f788ce2
10 changed files with 655 additions and 383 deletions

View File

@@ -200,18 +200,16 @@ class _SettingsScreenState extends State<SettingsScreen> {
}
return Scaffold(
appBar: AppBar(
title: const Text("Настройки"),
leading: widget.showBackToChats
? IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: widget.onBackToChats,
)
: null,
),
body: SafeArea(
child: _buildSettingsContent(),
),
appBar: AppBar(
title: const Text("Настройки"),
/*leading: widget.showBackToChats
? IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: widget.onBackToChats,
)
: null,*/
),
body: _buildSettingsContent(),
);
}
@@ -224,8 +222,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
final isSmallScreen = screenWidth < 600 || screenHeight < 800;
return Scaffold(
backgroundColor: Colors.transparent,
body: Stack(
body: SafeArea(
child: Stack(
children: [
GestureDetector(
onTap: () => Navigator.of(context).pop(),
@@ -346,7 +344,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
),
),
],
),
)),
);
}