This commit is contained in:
MohammadTaha Basiri 2022-04-03 03:22:53 +04:30
parent 42006f5fc8
commit 939dd9b358
4 changed files with 42 additions and 37 deletions

View File

@ -76,7 +76,9 @@ class _PasswordInputState extends State<PasswordInput> {
final token = await state.login(userProvider);
if (token != null) {
log(token);
ActionSheetUtils.showLogoLoadingIndicator();
await ServerDataProvider.getData();
ActionSheetUtils.pop();
Navigator.of(context).pushReplacementNamed(Routes.home);
_showResetPasswordDialog();
}

View File

@ -145,8 +145,8 @@ class _StudioDetailsState extends State<StudioDetails> {
child: Stack(
children: [
WebView(
backgroundColor:
Theme.of(context).colorScheme.black,
zoomEnabled: false,
backgroundColor: Colors.black,
allowsInlineMediaPlayback: true,
initialUrl: Uri.dataFromString(
'''

View File

@ -141,7 +141,8 @@ class StudioDetailsWidget extends StatelessWidget {
),
);
}
return Column(
return SingleChildScrollView(
child: Column(
children: [
if (state.studio.relatedContents.isEmpty)
for (var i = 0; i < 3; i++)
@ -168,6 +169,7 @@ class StudioDetailsWidget extends StatelessWidget {
),
),
],
),
);
},
),

View File

@ -97,6 +97,7 @@ class _StudioSliderState extends State<StudioSlider> {
),
),
),
if (state.videosSelected)
Container(
height: 52,
width: 52,