summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-18 21:41:46 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-18 21:41:46 +0200
commit3d0f88fcf9a262680c19bd5c44e407a02c409dcf (patch)
treecfd39dbe14683e5c9fa4b24805a49c3301a10f3f /src/ui/sidebarwidget.c
parent0962147cc8fa92e5a79458bf1270ded51c9a4433 (diff)
iOS: Working on touch event handling
Handle finger down, motion, and up events to implement basic taps, long presses, and inertia scrolling. Much finetuning still to be done, and certain widgets like input fields and scrollbars need a direct drag mode (they were working fine via the "mouse" events already).
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 679d8e6f..32727703 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -322,7 +322,7 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) {
322 iConstForEach(PtrArray, i, identities_GmCerts(certs_App())) { 322 iConstForEach(PtrArray, i, identities_GmCerts(certs_App())) {
323 const iGmIdentity *ident = i.ptr; 323 const iGmIdentity *ident = i.ptr;
324 iSidebarItem *item = new_SidebarItem(); 324 iSidebarItem *item = new_SidebarItem();
325 item->id = index_PtrArrayConstIterator(&i); 325 item->id = (uint32_t) index_PtrArrayConstIterator(&i);
326 item->icon = ident->icon; 326 item->icon = ident->icon;
327 set_String(&item->label, collect_String(subject_TlsCertificate(ident->cert))); 327 set_String(&item->label, collect_String(subject_TlsCertificate(ident->cert)));
328 iDate until; 328 iDate until;