mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
ios: Fix report bug button
We don't have logs on ios
This commit is contained in:
@ -184,7 +184,12 @@ class AppDrawer extends StatelessWidget {
|
||||
onTap: () async {
|
||||
var platform = Platform.operatingSystem;
|
||||
var versionText = await getVersionString();
|
||||
var appLogsFilePath = await FetchAppLogs.dumpAppLogsToFile();
|
||||
String appLogsFilePath;
|
||||
try {
|
||||
appLogsFilePath = await FetchAppLogs.dumpAppLogsToFile();
|
||||
} catch (e) {
|
||||
print(e);
|
||||
}
|
||||
|
||||
final Email email = Email(
|
||||
body:
|
||||
|
Reference in New Issue
Block a user