mirror of
https://gitlab.com/openlp/openlp-mobile-remote.git
synced 2024-12-22 03:42:48 +00:00
safe area in some places
This commit is contained in:
parent
d1809ef156
commit
dac62f2c35
@ -153,6 +153,7 @@
|
||||
TargetAttributes = {
|
||||
97C146ED1CF9000F007C117D = {
|
||||
CreatedOnToolsVersion = 7.3.1;
|
||||
DevelopmentTeam = EP83MQ6H82;
|
||||
LastSwiftMigration = 0910;
|
||||
};
|
||||
};
|
||||
@ -309,7 +310,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||
DEVELOPMENT_TEAM = S8QB4VV633;
|
||||
DEVELOPMENT_TEAM = EP83MQ6H82;
|
||||
ENABLE_BITCODE = NO;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
@ -321,7 +322,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.openlpRemote;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.openlp.remote;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_VERSION = 4.0;
|
||||
@ -443,6 +444,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||
DEVELOPMENT_TEAM = EP83MQ6H82;
|
||||
ENABLE_BITCODE = NO;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
@ -454,7 +456,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.openlpRemote;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.openlp.remote;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
@ -471,6 +473,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||
DEVELOPMENT_TEAM = EP83MQ6H82;
|
||||
ENABLE_BITCODE = NO;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
@ -482,7 +485,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.openlpRemote;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.openlp.remote;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = On;
|
||||
@ -515,7 +518,6 @@
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
|
||||
};
|
||||
rootObject = 97C146E61CF9000F007C117D /* Project object */;
|
||||
}
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
@ -18,17 +18,19 @@ class ServiceItemBottomSheet extends StatelessWidget {
|
||||
];
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Wrap(
|
||||
children: _serviceItems.map((item) {
|
||||
return ListTile(
|
||||
leading: Icon(item.icon),
|
||||
title: Text(item.title),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
showSearch(context: context, delegate: ServiceItemSearch());
|
||||
},
|
||||
);
|
||||
}).toList(),
|
||||
return SafeArea(
|
||||
child: Wrap(
|
||||
children: _serviceItems.map((item) {
|
||||
return ListTile(
|
||||
leading: Icon(item.icon),
|
||||
title: Text(item.title),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
showSearch(context: context, delegate: ServiceItemSearch());
|
||||
},
|
||||
);
|
||||
}).toList(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -19,38 +19,40 @@ class ServiceItemSearch extends SearchDelegate {
|
||||
void _showOptions(BuildContext context) {
|
||||
showModalBottomSheet(
|
||||
context: context,
|
||||
builder: (context) => Wrap(
|
||||
alignment: WrapAlignment.center,
|
||||
children: <Widget>[
|
||||
Container(
|
||||
padding: EdgeInsets.all(15),
|
||||
child: Text(
|
||||
query,
|
||||
style: Theme.of(context).textTheme.title,
|
||||
textAlign: TextAlign.center,
|
||||
builder: (context) => SafeArea(
|
||||
child: Wrap(
|
||||
alignment: WrapAlignment.center,
|
||||
children: <Widget>[
|
||||
Container(
|
||||
padding: EdgeInsets.all(15),
|
||||
child: Text(
|
||||
query,
|
||||
style: Theme.of(context).textTheme.title,
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
title: Text('Go live'),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
close(context, null);
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
title: Text('Add to service'),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
title: Text('Add & Go to service'),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
close(context, null);
|
||||
},
|
||||
),
|
||||
],
|
||||
ListTile(
|
||||
title: Text('Go live'),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
close(context, null);
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
title: Text('Add to service'),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
title: Text('Add & Go to service'),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
close(context, null);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user