Skip to content

Commit

Permalink
Fix iOS notch assuming Tonbrett has a light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Aug 8, 2023
1 parent c5fd2a4 commit 47ad183
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
18 changes: 18 additions & 0 deletions app/ios/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
8E3F49702A1A51E5001D2B92 /* Frameworks */,
8E3F49712A1A51E5001D2B92 /* Resources */,
C6EB1AFF7763061CB96D186D /* [CP] Embed Pods Frameworks */,
32E192EE27DF2FC6DF4BFC1D /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -167,6 +168,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
32E192EE27DF2FC6DF4BFC1D /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-iosApp/Pods-iosApp-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-iosApp/Pods-iosApp-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-iosApp/Pods-iosApp-resources.sh\"\n";
showEnvVarsInLog = 0;
};
85433CD92AD76BFD949C6466 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
3 changes: 2 additions & 1 deletion app/ios/iosApp/ComposeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ struct ComposeView: UIViewControllerRepresentable {
struct ContentView: View {
var body: some View {
ComposeView()
.ignoresSafeArea(.all) // Compose has own keyboard handler
.ignoresSafeArea(.keyboard) // Compose has own keyboard handler
.preferredColorScheme(.dark) // there is no light theme YET or ever
}
}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {

allprojects {
group = "dev.schlaubi.tonbrett"
version = "1.12.4"
version = "1.12.5"

repositories {
mavenCentral()
Expand Down

0 comments on commit 47ad183

Please sign in to comment.