mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-22 06:41:06 +02:00
Fossil HR: Allow workout app the be added as a shortcut
This commit is contained in:
parent
b9feb886f8
commit
5b936db9b6
|
@ -1380,7 +1380,9 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
|||
outerLoop:
|
||||
for (ButtonConfiguration config : configs) {
|
||||
for (ApplicationInformation installedApp : installedApplications) {
|
||||
if (installedApp.getAppName().equals(config.getAction())) {
|
||||
if (installedApp.getAppName().equals(config.getAction()) ||
|
||||
config.getAction().equals("workoutApp") //workoutApp is part of internal firmware
|
||||
) {
|
||||
availableConfigs.add(config);
|
||||
continue outerLoop;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user