move 'record toast' to prefs

This commit is contained in:
hyb1996
2017-08-12 14:29:15 +08:00
parent 4129f83cb1
commit af752d5e4c
6 changed files with 33 additions and 11 deletions

View File

@@ -124,4 +124,8 @@ public class Pref {
public static boolean isRecordWithRootEnabled() {
return def().getBoolean(getString(R.string.key_record_with_root), false);
}
public static boolean isRecordToastEnabled() {
return def().getBoolean(getString(R.string.key_record_toast), true);
}
}