mirror of
https://github.com/Myzel394/quid_faciam_hodie.git
synced 2025-06-18 23:35:25 +02:00
bugfixes
This commit is contained in:
parent
35eaafee2d
commit
b8ad3b8d43
@ -30,14 +30,14 @@ class _AnnotationDialogState extends State<AnnotationDialog> {
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(MEDIUM_SPACE),
|
padding: const EdgeInsets.all(SMALL_SPACE),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(
|
Text(
|
||||||
localizations.mainScreenAnnotationDialogTitle,
|
localizations.mainScreenAnnotationDialogTitle,
|
||||||
style: getTitleTextStyle(context),
|
style: getTitleTextStyle(context),
|
||||||
),
|
),
|
||||||
const SizedBox(height: MEDIUM_SPACE),
|
const SizedBox(height: SMALL_SPACE),
|
||||||
Text(
|
Text(
|
||||||
localizations.mainScreenAnnotationDialogExplanation,
|
localizations.mainScreenAnnotationDialogExplanation,
|
||||||
style: getBodyTextTextStyle(context),
|
style: getBodyTextTextStyle(context),
|
||||||
|
@ -85,9 +85,9 @@ class _RecordButtonState extends State<RecordButton> {
|
|||||||
animateToVideoIcon = false;
|
animateToVideoIcon = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
HapticFeedback.lightImpact();
|
|
||||||
|
|
||||||
if (widget.active) {
|
if (widget.active) {
|
||||||
|
HapticFeedback.lightImpact();
|
||||||
|
|
||||||
widget.onVideoEnd();
|
widget.onVideoEnd();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -21,10 +21,7 @@ class RawMemoryDisplay extends StatefulWidget {
|
|||||||
this.onVideoControllerInitialized,
|
this.onVideoControllerInitialized,
|
||||||
this.file,
|
this.file,
|
||||||
this.data,
|
this.data,
|
||||||
}) : assert(data != null || file != null),
|
}) : super(key: key);
|
||||||
assert((type == MemoryType.photo) ||
|
|
||||||
(type == MemoryType.video && data != null)),
|
|
||||||
super(key: key);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<RawMemoryDisplay> createState() => _RawMemoryDisplayState();
|
State<RawMemoryDisplay> createState() => _RawMemoryDisplayState();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user