cleanup
restore xcode settings formatting restore xcode settings fix rebase
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user