mirror of
https://github.com/luxfi/wallet.git
synced 2026-10-30 15:13:19 +00:00
Copies apps/extension, apps/mobile and 10 pkgs (wallet, ui, config, utilities, sessions, gating, notifications, analytics, eslint-config, prices) into a standalone pnpm workspace. Resolves merge conflict markers in extension and mobile package.json files, strips build artifacts (.wxt, .output, Pods).
31 lines
615 B
Swift
31 lines
615 B
Swift
//
|
|
// ScrollExtension.swift
|
|
<<<<<<< HEAD
|
|
// Lux
|
|
=======
|
|
// Uniswap
|
|
>>>>>>> upstream/main
|
|
//
|
|
// Created by Gary Ye on 8/31/23.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
extension View {
|
|
func fadeOutBottom(fadeLength:CGFloat=32) -> some View {
|
|
return mask(
|
|
VStack(spacing: 0) {
|
|
|
|
Rectangle().fill(Color.black)
|
|
|
|
LinearGradient(gradient:
|
|
Gradient(
|
|
colors: [Color.black, Color.black.opacity(0)]),
|
|
startPoint: .top, endPoint: .bottom
|
|
)
|
|
.frame(height: fadeLength)
|
|
}
|
|
)
|
|
}
|
|
}
|