restore xcode settings

formatting

restore xcode settings

fix rebase
This commit is contained in:
mertalev
2025-07-24 14:25:25 +03:00
parent fc6415cdc3
commit 97a6c6d7a0
18 changed files with 255 additions and 908 deletions
@@ -577,10 +577,7 @@ class _AssetViewerState extends ConsumerState<AssetViewer> {
// Using multiple selectors to avoid unnecessary rebuilds for other state changes
ref.watch(
assetViewerProvider.select(
(s) =>
s.showingBottomSheet.hashCode ^
s.backgroundOpacity.hashCode ^
s.stackIndex.hashCode,
(s) => s.showingBottomSheet.hashCode ^ s.backgroundOpacity.hashCode ^ s.stackIndex.hashCode,
),
);
ref.watch(isPlayingMotionVideoProvider);
@@ -77,7 +77,7 @@ class AssetViewerStateNotifier extends AutoDisposeNotifier<AssetViewerState> {
void setAsset(BaseAsset? asset) {
if (asset != state.currentAsset) {
state = state.copyWith(currentAsset: asset, stackIndex: 0);
}
}
}
void setOpacity(int opacity) {