implement extendable first run experience starting with welcome page

This commit is contained in:
Akinwale Ariwodola 2018-06-08 09:13:45 +01:00
parent bc684b6ae3
commit 468c41c526
19 changed files with 333 additions and 78 deletions
src/main/java/io/lbry/browser/reactmodules

View file

@ -24,6 +24,11 @@ public class DaemonServiceControlModule extends ReactContextBaseJavaModule {
return "DaemonServiceControl";
}
@ReactMethod
public void startService() {
ServiceHelper.start(context, "", LbrynetService.class, "lbrynetservice");
}
@ReactMethod
public void stopService() {
ServiceHelper.stop(context, LbrynetService.class);