diff --git a/AirRobeWidget/src/main/kotlin/com/airrobe/widgetsdk/airrobewidget/AirRobeWidget.kt b/AirRobeWidget/src/main/kotlin/com/airrobe/widgetsdk/airrobewidget/AirRobeWidget.kt index c75eb12..5ae4b10 100644 --- a/AirRobeWidget/src/main/kotlin/com/airrobe/widgetsdk/airrobewidget/AirRobeWidget.kt +++ b/AirRobeWidget/src/main/kotlin/com/airrobe/widgetsdk/airrobewidget/AirRobeWidget.kt @@ -116,6 +116,10 @@ object AirRobeWidget { AirRobeSharedPreferenceManager.setOptedIn(context, false) } + fun resetOrder(context: Context) { + AirRobeSharedPreferenceManager.setOrderOptedIn(context, false) + } + fun orderOptedIn(context: Context): Boolean { return AirRobeSharedPreferenceManager.getOrderOptedIn(context) }