예제 #1
0
 /// <summary>
 /// Check for updates in the Pebble store
 /// </summary>
 public async Task CheckUpdates()
 {
     try
     {
         foreach (var WatchItem in WatchApps)
         {
             await WatchItem.CheckUpdate();
         }
     }
     catch (Exception exp)
     {
         System.Diagnostics.Debug.WriteLine("CheckUpdates exception: " + exp.Message);
     }
 }
예제 #2
0
        /// <summary>
        /// Check for updates in the Pebble store
        /// </summary>
        public async Task CheckUpdates()
        {
            try
            {
                foreach (var WatchItem in WatchFaces)
                {
                    await WatchItem.CheckUpdate();

                    //if (WatchItem.Item!=null) WatchItem.Item.UpdateAvailable = true;
                }
            }
            catch (Exception exp)
            {
                System.Diagnostics.Debug.WriteLine("CheckUpdates exception: " + exp.Message);
            }
        }