Add “My Notes” ("Mitt klotter)" screen, enable distant note clicks, and add draggable map/list splitter to Nearby & My Notes
This commit is contained in:
@@ -302,3 +302,21 @@ suspend fun fetchUserStats(): UserStats? {
|
||||
|
||||
return sh
|
||||
}
|
||||
|
||||
/** user_notes.php → shared. */
|
||||
suspend fun fetchUserNotes(
|
||||
userId: Long,
|
||||
sinceMs: Long = 0,
|
||||
lastEtag: String? = null,
|
||||
limit: Int = 500
|
||||
): NearbyResult {
|
||||
return KlottrApiShared.userNotes(
|
||||
baseUrl = ApiConfig.SERVER_API_BASE_URL,
|
||||
apiKey = ApiConfig.SERVER_API_KEY,
|
||||
bearerToken = AuthShared.idToken,
|
||||
userId = userId,
|
||||
sinceMs = sinceMs,
|
||||
lastEtag = lastEtag,
|
||||
limit = limit
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user