Skip to content

Commit

Permalink
Merge pull request #40 from ntatko/show-bible-passages
Browse files Browse the repository at this point in the history
homiletic editor keyboard show whole passage
  • Loading branch information
ntatko authored Jan 11, 2025
2 parents ef96638 + 463fd12 commit fadb63b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 21 deletions.
18 changes: 12 additions & 6 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -358,15 +358,17 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
CURRENT_PROJECT_VERSION = 30;
DEVELOPMENT_TEAM = U53L3A2RYA;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_NAME = 2.5.1;
FLUTTER_BUILD_NUMBER = 30;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.4.0;
MARKETING_VERSION = 2.5.1;
PRODUCT_BUNDLE_IDENTIFIER = com.thirteenone.homiletics;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down Expand Up @@ -490,15 +492,17 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
CURRENT_PROJECT_VERSION = 30;
DEVELOPMENT_TEAM = U53L3A2RYA;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_NAME = 2.5.1;
FLUTTER_BUILD_NUMBER = 30;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.4.0;
MARKETING_VERSION = 2.5.1;
PRODUCT_BUNDLE_IDENTIFIER = com.thirteenone.homiletics;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand All @@ -514,15 +518,17 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
CURRENT_PROJECT_VERSION = 30;
DEVELOPMENT_TEAM = U53L3A2RYA;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_NAME = 2.5.1;
FLUTTER_BUILD_NUMBER = 30;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.4.0;
MARKETING_VERSION = 2.5.1;
PRODUCT_BUNDLE_IDENTIFIER = com.thirteenone.homiletics;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.5.0</string>
<string>2.5.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
29 changes: 15 additions & 14 deletions lib/pages/homeletic_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class _HomileticState extends State<HomileticEditor> {
];

return Scaffold(
resizeToAvoidBottomInset: false,
// resizeToAvoidBottomInset: false,
appBar: AppBar(
title: TextField(
keyboardType: TextInputType.text,
Expand Down Expand Up @@ -342,20 +342,21 @@ class _HomileticState extends State<HomileticEditor> {
]),
],
),
body: OrientationBuilder(
builder: (context, orientation) => SafeArea(
bottom: false,
child: SplitView(
indicator: SplitIndicator(
body: SafeArea(
child: OrientationBuilder(
builder: (context, orientation) => SafeArea(
bottom: false,
child: SplitView(
indicator: SplitIndicator(
viewMode: orientation != Orientation.landscape
? SplitViewMode.Vertical
: SplitViewMode.Horizontal),
viewMode: orientation != Orientation.landscape
? SplitViewMode.Vertical
: SplitViewMode.Horizontal),
viewMode: orientation != Orientation.landscape
? SplitViewMode.Vertical
: SplitViewMode.Horizontal,
children: orientation != Orientation.landscape
? splitChildren
: splitChildren.reversed.toList()),
)));
: SplitViewMode.Horizontal,
children: orientation != Orientation.landscape
? splitChildren
: splitChildren.reversed.toList()),
))));
}
}

0 comments on commit fadb63b

Please sign in to comment.