Umstellung auf UTC Timestamp
This commit is contained in:
1 parent
fcb3ecdbb4
commit
d5ec222efd
41 files changed
+145
-665
No files matched your search
+6
-12
@@ -426,7 +426,6 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
}
|
||||
|
||||
void _replaceContentView(ContentViewWidget widget) async {
|
||||
final currentContext = context;
|
||||
Future.delayed(const Duration(seconds: 0), () async {
|
||||
contentStack.clear();
|
||||
|
||||
@@ -436,9 +435,8 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
});
|
||||
}
|
||||
|
||||
if (mounted) {
|
||||
_currentTitleWidget = await _currentContent.getHeaderWidget(currentContext);
|
||||
}
|
||||
if (!context.mounted) return;
|
||||
_currentTitleWidget = await _currentContent.getHeaderWidget(MyApp.appNavigatorKey.currentContext!);
|
||||
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
@@ -447,7 +445,6 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
}
|
||||
|
||||
void _popContentView(int count) {
|
||||
final currentContext = context;
|
||||
Future.delayed(const Duration(seconds: 0), () async {
|
||||
for (int i = 0; i < count - 1; i++) {
|
||||
contentStack.pop();
|
||||
@@ -457,9 +454,8 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
|
||||
_currentContent = previousContentView;
|
||||
|
||||
if (mounted) {
|
||||
_currentTitleWidget = await _currentContent.getHeaderWidget(currentContext);
|
||||
}
|
||||
if (!context.mounted) return;
|
||||
_currentTitleWidget = await _currentContent.getHeaderWidget(MyApp.appNavigatorKey.currentContext!);
|
||||
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
@@ -468,15 +464,13 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
}
|
||||
|
||||
void _pushContentView(ContentViewWidget widget) {
|
||||
final currentContext = context;
|
||||
Future.delayed(const Duration(seconds: 0), () async {
|
||||
contentStack.push(_currentContent);
|
||||
|
||||
_currentContent = widget;
|
||||
|
||||
if (mounted) {
|
||||
_currentTitleWidget = await _currentContent.getHeaderWidget(currentContext);
|
||||
}
|
||||
if (!context.mounted) return;
|
||||
_currentTitleWidget = await _currentContent.getHeaderWidget(MyApp.appNavigatorKey.currentContext!);
|
||||
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
|
||||
Reference in new issue
Block a user