基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
feat: make snack bar less invasive (#969)
ErBW_s2259a148be25
diff --git a/lib/bean/dialog/dialog_helper.dart b/lib/bean/dialog/dialog_helper.dartindex 4b0f6051..dcfb2cd5 100644--- a/lib/bean/dialog/dialog_helper.dart+++ b/lib/bean/dialog/dialog_helper.dart@@ -1,4 +1,5 @@import 'package:flutter/material.dart';+import 'package:kazumi/utils/constants.dart';// A simple dialog helper class to show dialogs and toasts based on flutter native implementation (replace flutter_smart_dialog)// flutter_smart_dialog use overlays and self-managed route stack to show dialogs.@@ -55,6 +56,11 @@ class KazumiDialog {..showSnackBar(SnackBar(content: Text(message),+ behavior: SnackBarBehavior.floating,+ width: MediaQuery.sizeOf(ctx).width >+ LayoutBreakpoint.medium['width']!+ ? 600+ : null,duration: duration,action: showActionButton? SnackBarAction(