Commit Graph
11 Commits
Author SHA1 Message Date
Ken SedgwickandWilliam Casarin 21298b43f5 hitbox: cache note size instead of rect 2024-09-26 12:52:12 -07:00
Ken SedgwickandWilliam Casarin c25fde4a06 hitbox: handle hits on quoted notes correctly 2024-09-26 12:51:33 -07:00
Ken SedgwickandWilliam Casarin 5b7c9c9234 hitbox: extend the hitbox to the full width of the container 2024-09-26 12:42:57 -07:00
Ken SedgwickandWilliam Casarin 1f64350197 hitbox: more naming cleanup 2024-09-26 12:42:35 -07:00
Ken SedgwickandWilliam Casarin 35e8e536e6 debug: implemented fmt::Debug for NoteId 2024-09-26 12:42:35 -07:00
Ken SedgwickandWilliam Casarin f00b301e88 debug: implemented fmt::Debug for Pubkey 2024-09-26 12:42:35 -07:00
Ken Sedgwick fea315cb99 add note underbutton to detect clicks and open thread 2024-09-17 11:49:51 -07:00
Ken Sedgwick e7f959b3ea Read android args from config file on device
- allows use of more interesting args w/o risk of checking them in by mistake
- allows use of different args w/o rebuilding the app
- uses compiled in defaults if config file missing or broken

Example android-config.json:
```
{
  "args": [
    "--npub",
    "npub1h50pnxqw9jg7dhr906fvy4mze2yzawf895jhnc3p7qmljdugm6gsrurqev",
    "-c",
    "contacts",
    "-c",
    "notifications"
  ]
}
```

Install/update android-config.json with:
```
adb push android-config.json /sdcard/Android/data/com.damus.app/files/android-config.json
```

Using internal storage would be better but it seems hard to get the config file onto
the device ...
2024-09-10 14:16:10 -07:00
Ken Sedgwick 55f6a94c18 Supply default timeline for mobile app if empty
Fixes ([#284])
2024-09-03 11:37:27 -07:00
Ken SedgwickandWilliam Casarin fe7580f5be Extend ImageCache to handle content images 2024-09-02 17:54:49 -07:00
Ken SedgwickandWilliam Casarin 085c6f1992 build: updated num_enum to get around build problem
Problem:
```
error[E0463]: can't find crate for num_enum_derive
  --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num_enum-0.7.2/src/lib.rs:10:11
   |
10 | pub use ::num_enum_derive::{
   |           ^^^^^^^^^^^^^^^ can't find crate
```
2024-09-02 17:54:49 -07:00