fix: Minor regressions
This commit is contained in:
parent
2d3c8eed84
commit
4509ace93b
6 changed files with 15 additions and 13 deletions
|
|
@ -78,7 +78,7 @@ class _FluffyChatAppState extends State<FluffyChatApp> {
|
|||
builder: (theme, darkTheme) => LayoutBuilder(
|
||||
builder: (context, constraints) {
|
||||
var newColumns =
|
||||
(constraints.maxWidth / AppConfig.columnWidth).floor();
|
||||
(constraints.maxWidth / FluffyThemes.columnWidth).floor();
|
||||
if (newColumns > 3) newColumns = 3;
|
||||
columnMode ??= newColumns > 1;
|
||||
_router ??= GlobalKey<VRouterState>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue