Matthias Nott
2026-03-07 c23dfe16e95713e7058137308bdbc28419609a39
components/SessionDrawer.tsx
....@@ -482,8 +482,7 @@
482482 >
483483 Sessions
484484 </Text>
485
- <View style={{ flexDirection: "row", alignItems: "center", gap: 8 }}>
486
- <Pressable
485
+ <Pressable
487486 onPress={() => requestSessions()}
488487 hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}
489488 style={({ pressed }) => ({
....@@ -497,23 +496,6 @@
497496 Refresh
498497 </Text>
499498 </Pressable>
500
- <Pressable
501
- onPress={handleNewSession}
502
- hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}
503
- style={({ pressed }) => ({
504
- width: 30,
505
- height: 30,
506
- borderRadius: 15,
507
- alignItems: "center",
508
- justifyContent: "center",
509
- backgroundColor: pressed ? colors.accent + "CC" : colors.accent,
510
- })}
511
- >
512
- <Text style={{ color: "#FFF", fontSize: 20, fontWeight: "600", marginTop: -1 }}>
513
- +
514
- </Text>
515
- </Pressable>
516
- </View>
517499 </View>
518500 </View>
519501
....@@ -537,10 +519,29 @@
537519 />
538520 )}
539521
522
+ {/* New session FAB */}
523
+ <View style={{ alignItems: "center", paddingVertical: 12 }}>
524
+ <Pressable
525
+ onPress={handleNewSession}
526
+ style={({ pressed }) => ({
527
+ flexDirection: "row",
528
+ alignItems: "center",
529
+ gap: 8,
530
+ paddingHorizontal: 20,
531
+ paddingVertical: 12,
532
+ borderRadius: 24,
533
+ backgroundColor: pressed ? colors.accent + "CC" : colors.accent,
534
+ })}
535
+ >
536
+ <Text style={{ color: "#FFF", fontSize: 20, fontWeight: "600", marginTop: -1 }}>+</Text>
537
+ <Text style={{ color: "#FFF", fontSize: 15, fontWeight: "600" }}>New Session</Text>
538
+ </Pressable>
539
+ </View>
540
+
540541 {/* Footer */}
541542 <View
542543 style={{
543
- paddingVertical: 12,
544
+ paddingVertical: 8,
544545 paddingHorizontal: 20,
545546 borderTopWidth: 1,
546547 borderTopColor: colors.border,