Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,13 @@ let package = Package(

.target(
name: "Fetch",
// dependencies: [
// .product(
// name: "JavaScriptKit",
// package: "JavaScriptKit",
// condition: .when(platforms: [.wasi])
// )
// ]
dependencies: [
.product(
name: "JavaScriptKit",
package: "JavaScriptKit",
condition: .when(platforms: [.wasi])
)
]
),

.target(
Expand Down
2 changes: 1 addition & 1 deletion Sources/Playground/Pages/Kit_Icons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class Kit_IconsState: State<Kit_Icons> {
gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: 120,
mainAxisSpacing: 10,
crossAxisSpacing: 10,
crossAxisSpacing: 10
),
itemCount: LucideIcon.allIcons.count,
itemBuilder: { context, index in
Expand Down
4 changes: 2 additions & 2 deletions Sources/Shaft/Widgets/AppLifecycleListener.swift
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private final class AppLifecycleListenerWidgetState: State<AppLifecycleListenerW
onShow: widget.onShow,
onPause: widget.onPause,
onRestart: widget.onRestart,
onDetach: widget.onDetach,
onDetach: widget.onDetach
)
}

Expand Down Expand Up @@ -308,7 +308,7 @@ extension Widget {
onShow: VoidCallback? = nil,
onPause: VoidCallback? = nil,
onRestart: VoidCallback? = nil,
onDetach: VoidCallback? = nil,
onDetach: VoidCallback? = nil
) -> Widget {
return AppLifecycleListenerWidget(
onResume: onResume,
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shaft/Widgets/Basic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ public class FractionallySizedBox: SingleChildRenderObjectWidget {
return RenderFractionallySizedOverflowBox(
widthFactor: widthFactor,
heightFactor: heightFactor,
alignment: alignment,
alignment: alignment
// textDirection: Directionality.maybeOf(context)
)
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shaft/Widgets/GestureDetector.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ extension Widget {
onSecondaryTap: onSecondaryTap,
onSecondaryTapDown: onSecondaryTapDown,
onSecondaryTapUp: onSecondaryTapUp,
onSecondaryTapCancel: onSecondaryTapCancel,
onSecondaryTapCancel: onSecondaryTapCancel
) {
self
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shaft/Widgets/ScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ public class GridView: BoxScrollView {
restorationId: String? = nil,
clipBehavior: Clip = .hardEdge,
hitTestBehavior: HitTestBehavior = .opaque,
itemBuilder: @escaping NullableIndexedWidgetBuilder,
itemBuilder: @escaping NullableIndexedWidgetBuilder
) -> GridView {
let delegate = SliverChildBuilderDelegate(
itemBuilder,
Expand Down
2 changes: 1 addition & 1 deletion Sources/ShaftLucide/LucideIcon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class LucideIcon: StatelessWidget {
let textStyle = TextStyle(
color: effectiveColor,
fontFamily: "lucide",
fontSize: size,
fontSize: size
)

var result: Widget = RichText(
Expand Down