Replace Export Watchface by Export template
This commit is contained in:
parent
533f9d2f7a
commit
192b7b371f
|
@ -364,7 +364,7 @@
|
|||
<string name="wear_custom_watchface">Custom Watchface: %1$s</string>
|
||||
<string name="wear_load_watchface">Load Watchface</string>
|
||||
<string name="wear_send_watchface">Send Watchface</string>
|
||||
<string name="wear_export_watchface">Export Watchface</string>
|
||||
<string name="wear_export_watchface">Export template</string>
|
||||
<string name="wear_new_custom_watchface_exported">Custom watchface exported</string>
|
||||
<string name="resend_all_data">Resend All Data</string>
|
||||
<string name="open_settings_on_wear">Open Settings on Wear</string>
|
||||
|
|
|
@ -205,7 +205,7 @@ class DataHandlerWear @Inject constructor(
|
|||
.observeOn(aapsSchedulers.io)
|
||||
.subscribe { eventData ->
|
||||
aapsLogger.debug(LTag.WEAR, "Custom Watchface requested from ${eventData.sourceNodeId}")
|
||||
persistence.readCustomWatchface()?.let {
|
||||
persistence.readCustomWatchface(eventData.exportFile)?.let {
|
||||
rxBus.send(EventWearDataToMobile(EventData.ActionGetCustomWatchface(it, eventData.exportFile)))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue