Fix rate the app
This commit is contained in:
parent
00fee40128
commit
5131ecab2d
|
@ -15,9 +15,10 @@
|
||||||
package app.fedilab.android.activities;
|
package app.fedilab.android.activities;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import com.kobakei.ratethisapp.RateThisApp;
|
import com.kobakei.ratethisapp.RateThisApp;
|
||||||
|
|
||||||
import app.fedilab.android.activities.BaseMainActivity;
|
|
||||||
|
|
||||||
|
|
||||||
public class MainActivity extends BaseMainActivity {
|
public class MainActivity extends BaseMainActivity {
|
||||||
|
@ -27,6 +28,7 @@ public class MainActivity extends BaseMainActivity {
|
||||||
RateThisApp.onCreate(this);
|
RateThisApp.onCreate(this);
|
||||||
RateThisApp.Config config = new RateThisApp.Config(3, 10);
|
RateThisApp.Config config = new RateThisApp.Config(3, 10);
|
||||||
RateThisApp.init(config);
|
RateThisApp.init(config);
|
||||||
|
RateThisApp.showRateDialogIfNeeded(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue