Skip to content

Commit

Permalink
Refactor : MoreBottomSheetLoggedOut uses Snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Mar 2, 2024
1 parent e5bc4f5 commit 25f68b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
Expand All @@ -22,6 +21,7 @@
import fr.free.nrw.commons.kvstore.JsonKvStore;
import fr.free.nrw.commons.logging.CommonsLogSender;
import fr.free.nrw.commons.settings.SettingsActivity;
import fr.free.nrw.commons.utils.ViewUtil;
import javax.inject.Inject;
import javax.inject.Named;
import timber.log.Timber;
Expand Down Expand Up @@ -109,7 +109,7 @@ private void sendFeedback() {
try {
startActivity(feedbackIntent);
} catch (final ActivityNotFoundException e) {
Toast.makeText(getActivity(), R.string.no_email_client, Toast.LENGTH_SHORT).show();
ViewUtil.showLongSnackbar(requireView(),getString(R.string.no_email_client));
}
}

Expand Down

0 comments on commit 25f68b6

Please sign in to comment.