country -> region, region –> province (#298)

This commit is contained in:
callebtc
2025-08-23 15:44:46 +02:00
committed by GitHub
parent a7604d9026
commit 7106be4b07
4 changed files with 15 additions and 14 deletions
@@ -707,8 +707,8 @@ class MainActivity : ComponentActivity() {
7 -> com.bitchat.android.geohash.GeohashChannelLevel.BLOCK
6 -> com.bitchat.android.geohash.GeohashChannelLevel.NEIGHBORHOOD
5 -> com.bitchat.android.geohash.GeohashChannelLevel.CITY
4 -> com.bitchat.android.geohash.GeohashChannelLevel.REGION
2 -> com.bitchat.android.geohash.GeohashChannelLevel.COUNTRY
4 -> com.bitchat.android.geohash.GeohashChannelLevel.PROVINCE
2 -> com.bitchat.android.geohash.GeohashChannelLevel.REGION
else -> com.bitchat.android.geohash.GeohashChannelLevel.CITY // Default fallback
}
val geohashChannel = com.bitchat.android.geohash.GeohashChannel(level, geohash)