Location notes: acquire geohash on open (force refresh) and show Matrix loader until block-level geohash resolves; add LocationNotesSheet wrapper

This commit is contained in:
jack
2025-09-13 01:00:55 +02:00
parent 52933568d7
commit 3a3da2f66d
3 changed files with 76 additions and 28 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ struct LocationNotesView: View {
}
// MARK: - Matrix Rain Loader
private struct MatrixRainView: View {
struct MatrixRainView: View {
@Environment(\.colorScheme) var colorScheme
private var fg: Color { colorScheme == .dark ? Color.green : Color(red: 0, green: 0.5, blue: 0) }
private let charset = Array("01abcdefghijklmnopqrstuvwxyzアイウエオカキクケコハヒフヘホ0123456789")
@@ -164,7 +164,7 @@ private struct MatrixRainView: View {
}
}
private struct RainColumn: View {
struct RainColumn: View {
let charset: [Character]
let columnWidth: CGFloat
let height: CGFloat