This commit is contained in:
Dmitry 2024-06-15 18:54:21 +03:00
parent 5e7428a0b3
commit fc99d384bc
3 changed files with 2 additions and 1 deletions

View file

@ -98,7 +98,7 @@ Future<void> _fillSp() async {
} }
final soundSpeed = globalSharedPreferences.getDouble('sound_speed'); final soundSpeed = globalSharedPreferences.getDouble('sound_speed');
if (soundSpeed == null) { if (soundSpeed == null) {
globalSharedPreferences.setDouble('sound_on', 1.0); globalSharedPreferences.setDouble('sound_speed', 1.0);
} }
final autoPlay = globalSharedPreferences.getBool('auto_play_sound'); final autoPlay = globalSharedPreferences.getBool('auto_play_sound');
if (autoPlay == null) { if (autoPlay == null) {

View file

@ -59,6 +59,7 @@ class ProfilePage extends StatelessWidget {
), ),
), ),
), ),
SizedBox(height: 8.h,),
Expanded( Expanded(
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,