Skip to content

Instantly share code, notes, and snippets.

View flbn's full-sized avatar
🕯️
🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️

woven ink flbn

🕯️
🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️ 🕯️
View GitHub Profile
@flbn
flbn / NousApp.swift
Created March 17, 2023 00:44
hide toolbar (focus mode)
private struct IsFocusedKey: EnvironmentKey {
static let defaultValue: Bool = false
}
extension EnvironmentValues {
var isFocused: Bool {
get { self[IsFocusedKey.self] }
set { self[IsFocusedKey.self] = newValue }
}
}