Skip to content

Commit

Permalink
fix: remove remaining desktop check for temp mute
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-ext committed Dec 12, 2023
1 parent 35920d3 commit a6d9784
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/com/components/dialogs/MuteConfirmDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ const renderMutedByListDialog = (profile: SignalizedProfile, list: ListView) =>
);
};

const isDesktop = import.meta.env.VITE_MODE === 'desktop';

const renderMuteConfirmDialog = (profile: SignalizedProfile, filters: FilterPreferences) => {
const queryClient = useQueryClient();

const isTempMuted = !isDesktop && isProfileTempMuted(filters, profile.did);
const isTempMuted = isProfileTempMuted(filters, profile.did);
const isMuted = profile.viewer.muted.value || isTempMuted;

const [duration, setDuration] = createSignal('-1');
Expand Down

0 comments on commit a6d9784

Please sign in to comment.