1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

user ckChangeLog to display the Changelog

There were other fancier libraries, but this one was so simple to integrate, that I could not resist ;)
This commit is contained in:
Andreas Shimokawa 2016-03-02 00:36:39 +01:00
parent 5eb525ee44
commit 652c5575b3
3 changed files with 16 additions and 0 deletions

View File

@ -50,6 +50,7 @@ dependencies {
compile 'org.slf4j:slf4j-api:1.7.7'
compile 'com.github.PhilJay:MPAndroidChart:v2.1.6'
compile 'com.github.pfichtner:durationformatter:0.1.1'
compile 'de.cketti.library.changelog:ckchangelog:1.2.2'
}
check.dependsOn 'findbugs', 'pmd', 'lint'

View File

@ -35,6 +35,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import de.cketti.library.changelog.ChangeLog;
import nodomain.freeyourgadget.gadgetbridge.GBApplication;
import nodomain.freeyourgadget.gadgetbridge.R;
import nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsActivity;
@ -177,6 +178,11 @@ public class ControlCenter extends Activity {
checkAndRequestPermissions();
}
ChangeLog cl = new ChangeLog(this);
if (cl.isFirstRun()) {
cl.getLogDialog().show();
}
GBApplication.deviceService().start();
enableSwipeRefresh(selectedDevice);

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<changelog>
<release version="0.8.1" versioncode="42" >
<change>Pebble: Install and start freshly-installed apps on the watch also in FW 3.x (now same behaviour as 2.x)</change>
<change>Pebble: Fix crash while receiving Health data</change>
<change>Mi Band 1S: Support for synchronizing activity data</change>
<change>Mi Band 1S: Support for reading the heart rate via the "Debug Screen"</change>
</release>
</changelog>