From 2734f6777a6b7c439d9bc55c8756155721f76fa5 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 9 May 2021 00:44:42 -0600 Subject: added clear button but doesn't work yet --- .../java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/src/main/java/me/brysonsteck/wiimmfiwatcher/database') diff --git a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java index 24e8762..1b0788e 100644 --- a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java +++ b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java @@ -27,4 +27,8 @@ public interface FriendCodeDao { @Delete public void delete(FriendCode friendCode); + + @Query("DELETE FROM friendcode") + public void nukeTable(); + } -- cgit v1.2.3