Merge branch 'dev' of https://gitlab.com/Didvan/didvan-app into dev
This commit is contained in:
commit
56370e443f
|
|
@ -17,6 +17,7 @@ class ActionSheetUtils {
|
||||||
|
|
||||||
static Future<void> showLogoLoadingIndicator() async {
|
static Future<void> showLogoLoadingIndicator() async {
|
||||||
await showDialog(
|
await showDialog(
|
||||||
|
barrierDismissible: false,
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) => Padding(
|
builder: (context) => Padding(
|
||||||
padding: EdgeInsets.symmetric(
|
padding: EdgeInsets.symmetric(
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,9 @@ class _PasswordInputState extends State<PasswordInput> {
|
||||||
final token = await state.login(userProvider);
|
final token = await state.login(userProvider);
|
||||||
if (token != null) {
|
if (token != null) {
|
||||||
log(token);
|
log(token);
|
||||||
|
ActionSheetUtils.showLogoLoadingIndicator();
|
||||||
await ServerDataProvider.getData();
|
await ServerDataProvider.getData();
|
||||||
|
ActionSheetUtils.pop();
|
||||||
Navigator.of(context).pushReplacementNamed(Routes.home);
|
Navigator.of(context).pushReplacementNamed(Routes.home);
|
||||||
_showResetPasswordDialog();
|
_showResetPasswordDialog();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -145,8 +145,8 @@ class _StudioDetailsState extends State<StudioDetails> {
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
WebView(
|
WebView(
|
||||||
backgroundColor:
|
zoomEnabled: false,
|
||||||
Theme.of(context).colorScheme.black,
|
backgroundColor: Colors.black,
|
||||||
allowsInlineMediaPlayback: true,
|
allowsInlineMediaPlayback: true,
|
||||||
initialUrl: Uri.dataFromString(
|
initialUrl: Uri.dataFromString(
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,8 @@ class StudioDetailsWidget extends StatelessWidget {
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return Column(
|
return SingleChildScrollView(
|
||||||
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
if (state.studio.relatedContents.isEmpty)
|
if (state.studio.relatedContents.isEmpty)
|
||||||
for (var i = 0; i < 3; i++)
|
for (var i = 0; i < 3; i++)
|
||||||
|
|
@ -168,6 +169,7 @@ class StudioDetailsWidget extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,7 @@ class _StudioSliderState extends State<StudioSlider> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (state.videosSelected)
|
||||||
Container(
|
Container(
|
||||||
height: 52,
|
height: 52,
|
||||||
width: 52,
|
width: 52,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue