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,
|
||||
children: <Widget>[
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(MEDIUM_SPACE),
|
||||
padding: const EdgeInsets.all(SMALL_SPACE),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Text(
|
||||
localizations.mainScreenAnnotationDialogTitle,
|
||||
style: getTitleTextStyle(context),
|
||||
),
|
||||
const SizedBox(height: MEDIUM_SPACE),
|
||||
const SizedBox(height: SMALL_SPACE),
|
||||
Text(
|
||||
localizations.mainScreenAnnotationDialogExplanation,
|
||||
style: getBodyTextTextStyle(context),
|
||||
|
@ -85,9 +85,9 @@ class _RecordButtonState extends State<RecordButton> {
|
||||
animateToVideoIcon = false;
|
||||
});
|
||||
|
||||
if (widget.active) {
|
||||
HapticFeedback.lightImpact();
|
||||
|
||||
if (widget.active) {
|
||||
widget.onVideoEnd();
|
||||
}
|
||||
},
|
||||
|
@ -21,10 +21,7 @@ class RawMemoryDisplay extends StatefulWidget {
|
||||
this.onVideoControllerInitialized,
|
||||
this.file,
|
||||
this.data,
|
||||
}) : assert(data != null || file != null),
|
||||
assert((type == MemoryType.photo) ||
|
||||
(type == MemoryType.video && data != null)),
|
||||
super(key: key);
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
State<RawMemoryDisplay> createState() => _RawMemoryDisplayState();
|
||||
|
Loading…
x
Reference in New Issue
Block a user