Esempio n. 1
0
        internal void NotifySnackbarActionRemoved(SnackbarAction snackbarAction)
        {
            if (snackbarAction == null)
            {
                return;
            }

            if (snackbarActions.Contains(snackbarAction))
            {
                snackbarActions.Remove(snackbarAction);
            }
        }
Esempio n. 2
0
        internal void NotifySnackbarActionInitialized(SnackbarAction snackbarAction)
        {
            if (snackbarAction == null)
            {
                return;
            }

            if (!snackbarActions.Contains(snackbarAction))
            {
                snackbarActions.Add(snackbarAction);
            }
        }