Files
Folo/apps/mobile/native/ios/Packages/ImageViewer_swift/ImageViewerOption.swift
T
Innei 9cf801634c feat(mobile): enhance image viewer with page indicator and options menu
- Add UIPageControl to ImageCarouselViewController for image navigation
- Implement options menu with save, copy, and share actions
- Remove deprecated context menu and navigation item configurations
- Add UIImage extension for alpha manipulation
- Update GaleriaView to simplify navigation item handling

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 19:19:56 +08:00

10 lines
198 B
Swift

import UIKit
public enum ImageViewerOption {
case contentMode(UIView.ContentMode)
case onPreview((Int) -> Void)
case onClosePreview(() -> Void)
case onIndexChange((Int) -> Void)
}