mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-17 19:29:02 +00:00
parent
74d5f3b183
commit
7795d82b49
2 changed files with 6 additions and 3 deletions
|
|
@ -88,8 +88,8 @@
|
|||
android:layout_width="25dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginLeft="2dp"
|
||||
android:layout_marginRight="2dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_weight="0.06"
|
||||
android:src="@drawable/ic_action_more_vert" />
|
||||
|
|
|
|||
|
|
@ -455,7 +455,10 @@ public class MainActivity extends AppCompatActivity implements HabitRPGUserCallb
|
|||
}
|
||||
|
||||
public void showSnackbar(String content, SnackbarDisplayType displayType) {
|
||||
Snackbar snackbar = Snackbar.make(floatingMenuWrapper, content, Snackbar.LENGTH_LONG);
|
||||
if (this.isFinishing()) {
|
||||
return;
|
||||
}
|
||||
Snackbar snackbar = Snackbar.make(floatingMenuWrapper, content, Snackbar.LENGTH_LONG);
|
||||
View snackbarView = snackbar.getView();
|
||||
|
||||
if (displayType == SnackbarDisplayType.FAILURE) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue