public void onDeleteAccount()
        {
            Node.localStorage.deleteAccountFile();
            FriendList.deleteEntireHistory();
            FriendList.clear();

            DisplayAlert("Done", "This account is now empty.", "OK");
        }
Beispiel #2
0
        public void onDeleteAccount()
        {
            Node.localStorage.deleteAllAvatars();
            Node.localStorage.deleteAccountFile();
            Node.localStorage.deleteAllDownloads();
            StreamProcessor.deletePendingMessages();
            FriendList.deleteEntireHistory();
            FriendList.clear();

            displaySpixiAlert(SpixiLocalization._SL("settings-deleteda-title"), SpixiLocalization._SL("settings-deleteda-text"), SpixiLocalization._SL("global-dialog-ok"));
        }
 public void onDeleteHistory()
 {
     FriendList.deleteEntireHistory();
     displaySpixiAlert(SpixiLocalization._SL("settings-deletedh-title"), SpixiLocalization._SL("settings-deletedh-text"), SpixiLocalization._SL("global-dialog-ok"));
 }
 public void onDeleteHistory()
 {
     FriendList.deleteEntireHistory();
     DisplayAlert("Done", "Entire messages history deleted.", "OK");
 }