diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-08-26 10:49:58 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-08-26 10:51:21 -0600 |
commit | 85462de254050cc693f6f51cc549899fd656913a (patch) | |
tree | b34e74ef0e0dda180957cc3b290a40761257edca /app/src/main/java/com/wireguard/android/preference | |
parent | 61d4f17f5deb76b9e8a26fc125562c7f621d65d9 (diff) |
MonkeyedSnackbar: remove
This didn't actually help with much and caused problems.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/android/preference')
-rw-r--r-- | app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java | 3 | ||||
-rw-r--r-- | app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java b/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java index 2c620f7e..a96cb9c8 100644 --- a/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java +++ b/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java @@ -20,7 +20,6 @@ import com.wireguard.android.Application; import com.wireguard.android.R; import com.wireguard.android.util.ExceptionLoggers; import com.wireguard.android.util.FragmentUtils; -import com.wireguard.android.widget.MonkeyedSnackbar; import java.io.BufferedReader; import java.io.File; @@ -80,7 +79,7 @@ public class LogExporterPreference extends Preference { final String error = ExceptionLoggers.unwrapMessage(throwable); final String message = getContext().getString(R.string.log_export_error, error); Log.e(TAG, message, throwable); - MonkeyedSnackbar.make( + Snackbar.make( FragmentUtils.getPrefActivity(this).findViewById(android.R.id.content), message, Snackbar.LENGTH_LONG).show(); setEnabled(true); diff --git a/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java b/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java index 10a9edd6..140cffa3 100644 --- a/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java +++ b/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java @@ -21,7 +21,6 @@ import com.wireguard.android.R; import com.wireguard.android.model.Tunnel; import com.wireguard.android.util.ExceptionLoggers; import com.wireguard.android.util.FragmentUtils; -import com.wireguard.android.widget.MonkeyedSnackbar; import com.wireguard.config.Config; import java.io.File; @@ -89,7 +88,7 @@ public class ZipExporterPreference extends Preference { final String error = ExceptionLoggers.unwrapMessage(throwable); final String message = getContext().getString(R.string.zip_export_error, error); Log.e(TAG, message, throwable); - MonkeyedSnackbar.make( + Snackbar.make( FragmentUtils.getPrefActivity(this).findViewById(android.R.id.content), message, Snackbar.LENGTH_LONG).show(); setEnabled(true); |