mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
ade21a2cb8
* show 'remove relay' items in red * show concrete meaning of 'default' or 'main' * prepare for showing 'unpublished' state * rework 'remove relay' dialog * fix RPC building doc and remove temp. file * add hint to be shown below relay list * adapt to new core api * use listTransportsEx() * use rpc.setTransportUnpublished() * keep hidden * tweak remove dialog in case the relay is already hidden * adapt to chat.delta.rpc.types.TransportListEntry classname * remove outdated autogenerated file * update CHANGELOG * simplify deletion * make spotless happy * change button order so hide/delete are not together usually; this matches also more the gist of positive/negative/neutral * Update src/main/res/values/strings.xml Co-authored-by: Hocuri <hocuri@gmx.de> * the dialog wording fits better when already hidden now * move similar strings together, make translation easier * actions are 'Title Case', however, this usually applies to nouns, verbs, adjectives, first and last word only, not to prepositions as 'from' --------- Co-authored-by: Hocuri <hocuri@gmx.de>
13 lines
277 B
Bash
Executable File
13 lines
277 B
Bash
Executable File
#!/bin/sh
|
|
# you need to have dcrpcgen
|
|
|
|
# generate schema.json
|
|
ROOT_DIR=$PWD
|
|
cd ./jni/deltachat-core-rust/deltachat-rpc-server
|
|
cargo run -- --openrpc > "$ROOT_DIR/schema.json"
|
|
cd "$ROOT_DIR"
|
|
|
|
# generate code
|
|
dcrpcgen java --schema schema.json -o ./src/main/java/
|
|
rm schema.json
|