app head: gallery thumbnails and publish style tweaks
This commit is contained in:
parent
a8309ffaf5
commit
d84fb51f6f
2 changed files with 8 additions and 8 deletions
2
app
2
app
|
@ -1 +1 @@
|
||||||
Subproject commit 2e7660250b9c0f7599055d7e1eb3965a78f3db0e
|
Subproject commit ac10cd26939da7570f437efe5f6717148b41b0c4
|
|
@ -221,18 +221,18 @@ public class GalleryModule extends ReactContextBaseJavaModule {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (file.exists() && file.length() > 0 && GalleryModule.this.context != null) {
|
||||||
|
WritableMap params = Arguments.createMap();
|
||||||
|
params.putString("id", id);
|
||||||
|
((ReactApplicationContext) GalleryModule.this.context).getJSModule(
|
||||||
|
DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit("onGalleryThumbnailChecked", params);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void onPostExecute(Void result) {
|
|
||||||
if (GalleryModule.this.context != null) {
|
|
||||||
((ReactApplicationContext) GalleryModule.this.context).getJSModule(
|
|
||||||
DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit("onGalleryThumbnailsChecked", null);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
}).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue