lightning-i2p/src/acr/browser/lightning/SettingsController.java
Anthony Restaino 8bead20406 Updated to 3.1.0
Updated to new UI
Added AdBlocker
Added Google Search Suggestions
Tons of other stuff
2014-04-28 15:41:40 -04:00

32 lines
614 B
Java

/*
* Copyright 2014 A.C.R. Development
*/
package acr.browser.lightning;
public class SettingsController {
static boolean clearHistory = false;
/**
* The purpose of this class is so that
* I can clear the dropdown history in the main
* activities if the user selects to clear the
* history from the disk in advanced settings
* @param choice
*/
static void setClearHistory(boolean choice) {
clearHistory = choice;
}
/**
* return the choice
* @return
*/
static boolean getClearHistory() {
if (clearHistory) {
clearHistory = false;
return true;
}
return clearHistory;
}
}